Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def get_output(question, context):
|
|
| 28 |
skip_special_tokens=True
|
| 29 |
)
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
interface = gr.Interface(fn=get_output, inputs = ["text", "text"], outputs=["text"])
|
| 34 |
interface.launch()
|
|
|
|
| 28 |
skip_special_tokens=True
|
| 29 |
)
|
| 30 |
|
| 31 |
+
return output
|
| 32 |
|
| 33 |
interface = gr.Interface(fn=get_output, inputs = ["text", "text"], outputs=["text"])
|
| 34 |
interface.launch()
|