Spaces:
Sleeping
Sleeping
fixed the dataframe error
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def inference(inputtext, model):
|
|
26 |
gr.Interface(
|
27 |
inference,
|
28 |
[gr.inputs.Textbox(label="Context",lines=10),gr.inputs.Dropdown(choices=["conv-bert-base","conv-bert-medium-small"], type="value", default="conv-bert-base", label="model")],
|
29 |
-
[gr.outputs.Dataframe(label="Output",max_rows=2000000)],
|
30 |
examples=examples,
|
31 |
article=article,
|
32 |
title=title,
|
|
|
26 |
gr.Interface(
|
27 |
inference,
|
28 |
[gr.inputs.Textbox(label="Context",lines=10),gr.inputs.Dropdown(choices=["conv-bert-base","conv-bert-medium-small"], type="value", default="conv-bert-base", label="model")],
|
29 |
+
[gr.outputs.Dataframe(type="pandas",label="Output",max_rows=2000000)],
|
30 |
examples=examples,
|
31 |
article=article,
|
32 |
title=title,
|