Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -201,9 +201,7 @@ iface = gr.Interface(examples = [
|
|
| 201 |
inputs = [gr.inputs.Textbox(default="What is Open-domain question answering?"),
|
| 202 |
gr.inputs.File(),
|
| 203 |
],
|
| 204 |
-
outputs =
|
| 205 |
-
gr.outputs.Gallery (['text']),
|
| 206 |
-
],
|
| 207 |
description=description,
|
| 208 |
title = title,
|
| 209 |
allow_flagging ="manual",flagging_options = ["correct","wrong"],
|
|
|
|
| 201 |
inputs = [gr.inputs.Textbox(default="What is Open-domain question answering?"),
|
| 202 |
gr.inputs.File(),
|
| 203 |
],
|
| 204 |
+
outputs = 'text',
|
|
|
|
|
|
|
| 205 |
description=description,
|
| 206 |
title = title,
|
| 207 |
allow_flagging ="manual",flagging_options = ["correct","wrong"],
|