Spaces:
Runtime error
Runtime error
pierreguillou
commited on
Commit
·
ade268d
1
Parent(s):
446a646
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(
|
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="Digite uma questão aqui:", default=question, lines=2),gr.inputs.Textbox(label="Digite um contexto aqui:", default=context, lines=5)],
|
45 |
outputs=[gr.outputs.HTML(label="Resposta do modelo T5 base")],
|
46 |
)
|
47 |
|