Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -300,7 +300,7 @@ with gr.Blocks() as demo:
|
|
| 300 |
ask.click(fn=predict, inputs=[query,
|
| 301 |
file], outputs=[answer, context, prob])
|
| 302 |
|
| 303 |
-
gr.Interface
|
| 304 |
|
| 305 |
demo.queue(concurrency_count=20)
|
| 306 |
demo.launch(show_error=True)
|
|
|
|
| 300 |
ask.click(fn=predict, inputs=[query,
|
| 301 |
file], outputs=[answer, context, prob])
|
| 302 |
|
| 303 |
+
gr.Interface(examples = [["¿Cuándo suelen comenzar las adicciones?","Entrevista Miguel Ruiz.txt"]])
|
| 304 |
|
| 305 |
demo.queue(concurrency_count=20)
|
| 306 |
demo.launch(show_error=True)
|