nickdigger commited on
Commit
1f646aa
·
verified ·
1 Parent(s): e7a342e

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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(), head=EXPORT_JS) as demo:
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):