prithivMLmods commited on
Commit
9c9bd12
·
verified ·
1 Parent(s): 9790d36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -50,11 +50,8 @@ def describe_image(uploaded_image):
50
  image_description_interface = gr.Interface(
51
  fn=describe_image,
52
  inputs=gr.Image(label="Upload Image"),
53
- outputs=gr.Textbox(label="Generated Description", lines=3, show_copy_button=True),
54
- title="Detailed Image Description Generator",
55
- description="Upload an image and let the model generate a detailed textual description.",
56
  live=False,
57
- examples=[["./logo.png"]] # You can add example image paths here
58
  )
59
 
60
  image_description_interface.launch(debug=True)
 
50
  image_description_interface = gr.Interface(
51
  fn=describe_image,
52
  inputs=gr.Image(label="Upload Image"),
53
+ outputs=gr.Textbox(label="Generated Caption", lines=3, show_copy_button=True),
 
 
54
  live=False,
 
55
  )
56
 
57
  image_description_interface.launch(debug=True)