Update app.py
Browse files
app.py
CHANGED
|
@@ -35,8 +35,8 @@ with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|
|
| 35 |
with gr.Column():
|
| 36 |
#an image input
|
| 37 |
image=gr.Image(type="pil", label="upload an immage")
|
| 38 |
-
prompt = gr.Textbox(label="What would you like to know about this picture?",scale=1)
|
| 39 |
with gr.Column():
|
|
|
|
| 40 |
describe_btn = gr.Button("Describe the image",scale=1)
|
| 41 |
output = gr.Textbox(label="Description",scale=1)
|
| 42 |
#sending two inputs to imageDescription function
|
|
|
|
| 35 |
with gr.Column():
|
| 36 |
#an image input
|
| 37 |
image=gr.Image(type="pil", label="upload an immage")
|
|
|
|
| 38 |
with gr.Column():
|
| 39 |
+
prompt = gr.Textbox(label="What would you like to know about this picture?",scale=1)
|
| 40 |
describe_btn = gr.Button("Describe the image",scale=1)
|
| 41 |
output = gr.Textbox(label="Description",scale=1)
|
| 42 |
#sending two inputs to imageDescription function
|