Spaces:
Runtime error
Runtime error
pierreguillou
commited on
Commit
·
de69443
1
Parent(s):
ef49360
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ iface = gr.Interface(
|
|
41 |
allow_screenshot=allow_screenshot,
|
42 |
allow_flagging=allow_flagging,
|
43 |
fn=qa,
|
44 |
-
inputs=[gr.inputs.Textbox(label="Texto:", default=context, lines=
|
45 |
outputs=[gr.outputs.HTML(label="Resposta do modelo T5 base")],
|
46 |
)
|
47 |
|
|
|
41 |
allow_screenshot=allow_screenshot,
|
42 |
allow_flagging=allow_flagging,
|
43 |
fn=qa,
|
44 |
+
inputs=[gr.inputs.Textbox(label="Texto:", default=context, lines=6),gr.inputs.Textbox(label="Questão:", default=question, lines=1)],
|
45 |
outputs=[gr.outputs.HTML(label="Resposta do modelo T5 base")],
|
46 |
)
|
47 |
|