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