Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -50,4 +50,4 @@ def predict(input):
|
|
50 |
return {a.answer: float(a.score) for a in prediction["answers"]}
|
51 |
|
52 |
interface = gr.Interface(fn=predict, inputs=gr.Textbox(lines=5, max_lines=6, label="Input Text"), outputs=label, title=title, description=head, article=article, examples=examples)
|
53 |
-
interface.launch(
|
|
|
50 |
return {a.answer: float(a.score) for a in prediction["answers"]}
|
51 |
|
52 |
interface = gr.Interface(fn=predict, inputs=gr.Textbox(lines=5, max_lines=6, label="Input Text"), outputs=label, title=title, description=head, article=article, examples=examples)
|
53 |
+
interface.launch()
|