fffiloni commited on
Commit
7ee9dee
·
verified ·
1 Parent(s): 814ec17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -39,11 +39,11 @@ def infer(image_string, question):
39
  with gr.Blocks() as demo:
40
  with gr.Row():
41
  with gr.Column():
42
- image_string = gr.Textbox()
43
- question = gr.Textbox()
44
- submit_btn = gr.Button("Submit")
45
  with gr.Column():
46
- answer = gr.Textbox()
47
 
48
  submit_btn.click(
49
  fn=infer,
 
39
  with gr.Blocks() as demo:
40
  with gr.Row():
41
  with gr.Column():
42
+ image_string = gr.Textbox(interactive=False)
43
+ question = gr.Textbox(interactive=False)
44
+ submit_btn = gr.Button("Submit", interactive=False)
45
  with gr.Column():
46
+ answer = gr.Textbox(interactive=False)
47
 
48
  submit_btn.click(
49
  fn=infer,