Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ iface = gr.Interface(
|
|
34 |
fn=predict,
|
35 |
inputs=[
|
36 |
gr.Textbox(lines=10, label="Input Text"),
|
37 |
-
gr.Dropdown(["morenolq/bart-it-fanpage", "morenolq/bart-it-ilpost", "morenolq/bart-it-WITS"], label="Model", value="morenolq/bart-it-
|
38 |
gr.Slider(minimum=32, maximum=512, value=64, step=16, label="Max Length", show_label=True),
|
39 |
gr.Checkbox(True, label="Beam Search", show_label=True),
|
40 |
gr.Slider(minimum=1, maximum=10, value=5, step=1, label="Num Beams", show_label=True)
|
|
|
34 |
fn=predict,
|
35 |
inputs=[
|
36 |
gr.Textbox(lines=10, label="Input Text"),
|
37 |
+
gr.Dropdown(["morenolq/bart-it-fanpage", "morenolq/bart-it-ilpost", "morenolq/bart-it-WITS"], label="Model", value="morenolq/bart-it-fanpage", show_label=True),
|
38 |
gr.Slider(minimum=32, maximum=512, value=64, step=16, label="Max Length", show_label=True),
|
39 |
gr.Checkbox(True, label="Beam Search", show_label=True),
|
40 |
gr.Slider(minimum=1, maximum=10, value=5, step=1, label="Num Beams", show_label=True)
|