SatyamSinghal commited on
Commit
e20d1ad
1 Parent(s): ad49b96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,9 +35,9 @@ with gr.Blocks(theme=theme) as app:
35
 
36
  with gr.Row():
37
  with gr.Column():
38
- image_input = gr.Image(type="file", label="Upload Your Image", elem_id="image-uploader", tooltips="Click to upload an image.")
39
  with gr.Column():
40
- output_text = gr.Textbox(label="Generated Caption", lines=4, interactive=False, elem_id="output-text", placeholder="Your caption will appear here...", tooltips="Generated caption will be displayed here.")
41
 
42
  submit_button = gr.Button("✨ Generate Caption ✨", elem_id="submit-btn")
43
  submit_button.click(generate_caption, inputs=image_input, outputs=output_text)
 
35
 
36
  with gr.Row():
37
  with gr.Column():
38
+ image_input = gr.Image(type="file", label="Upload Your Image", elem_id="image-uploader")
39
  with gr.Column():
40
+ output_text = gr.Textbox(label="Generated Caption", lines=4, interactive=False, elem_id="output-text", placeholder="Your caption will appear here...")
41
 
42
  submit_button = gr.Button("✨ Generate Caption ✨", elem_id="submit-btn")
43
  submit_button.click(generate_caption, inputs=image_input, outputs=output_text)