Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -493,9 +493,12 @@ EXPORT_JS = """
|
|
| 493 |
"""
|
| 494 |
|
| 495 |
# Gradio Interface
|
| 496 |
-
with gr.Blocks(title="Sequential Three-Tone JoyCaption", theme=gr.themes.Soft()
|
| 497 |
gr.HTML(TITLE)
|
| 498 |
|
|
|
|
|
|
|
|
|
|
| 499 |
with gr.Row():
|
| 500 |
# Left column - Image and controls
|
| 501 |
with gr.Column(scale=1):
|
|
|
|
| 493 |
"""
|
| 494 |
|
| 495 |
# Gradio Interface
|
| 496 |
+
with gr.Blocks(title="Sequential Three-Tone JoyCaption", theme=gr.themes.Soft()) as demo:
|
| 497 |
gr.HTML(TITLE)
|
| 498 |
|
| 499 |
+
# JavaScript injection via HTML component
|
| 500 |
+
gr.HTML(EXPORT_JS)
|
| 501 |
+
|
| 502 |
with gr.Row():
|
| 503 |
# Left column - Image and controls
|
| 504 |
with gr.Column(scale=1):
|