Commit
·
d38ad4b
1
Parent(s):
55f0c9f
Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ def blip2_interface(image, prompted_caption_text, vqa_question, chat_context):
|
|
42 |
|
43 |
# Define Gradio input and output components
|
44 |
image_input = gr.inputs.Image(type="numpy")
|
45 |
-
text_input = gr.
|
46 |
-
output_text = gr.
|
47 |
|
48 |
# Create Gradio interface
|
49 |
iface = gr.Interface(
|
|
|
42 |
|
43 |
# Define Gradio input and output components
|
44 |
image_input = gr.inputs.Image(type="numpy")
|
45 |
+
text_input = gr.components.TextInput()
|
46 |
+
output_text = gr.components.Textbox()
|
47 |
|
48 |
# Create Gradio interface
|
49 |
iface = gr.Interface(
|