Spaces:
Runtime error
Runtime error
Isabel Gwara
commited on
Commit
•
9a52d43
1
Parent(s):
2a6fc09
Update app.py
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ for colname in data.columns:
|
|
135 |
inputls.append(gr.inputs.Number(label=colname))
|
136 |
|
137 |
# generate gradio interface
|
138 |
-
interface = gr.Interface(general_predictor, inputs=inputls, outputs="text", article=info['article'], css=info['css'], theme="grass", title=info['title'], allow_flagging=
|
139 |
|
140 |
# show the interface
|
141 |
-
interface.launch(
|
|
|
135 |
inputls.append(gr.inputs.Number(label=colname))
|
136 |
|
137 |
# generate gradio interface
|
138 |
+
interface = gr.Interface(general_predictor, inputs=inputls, outputs="text", article=info['article'], css=info['css'], theme="grass", title=info['title'], allow_flagging='never', description=info['description'])
|
139 |
|
140 |
# show the interface
|
141 |
+
interface.launch()
|