TusharGoel commited on
Commit
8f5d47e
1 Parent(s): 0b60874

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,6 +32,7 @@ def qna(image, question):
32
 
33
  img = gr.Image(source="upload", label="Image")
34
  question = gr.Text(label="Question")
 
35
 
36
- iface = gr.Interface(fn=qna, inputs=[img, question], outputs="text", title="LiLT - Document Question Answering")
37
  iface.launch()
 
32
 
33
  img = gr.Image(source="upload", label="Image")
34
  question = gr.Text(label="Question")
35
+ label = gr.Label(label="label")
36
 
37
+ iface = gr.Interface(fn=qna, inputs=[img, question], outputs=label, title="LiLT - Document Question Answering")
38
  iface.launch()