Update app.py
Browse files
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
|
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)
|