iamrobotbear commited on
Commit
d38ad4b
·
1 Parent(s): 55f0c9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Text()
46
- output_text = gr.outputs.Text()
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(