MariaK commited on
Commit
0afdb2e
1 Parent(s): 2c9a703

fixed the dataframe error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,