Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ if __name__ == '__main__':
|
|
59 |
#Create a gradio app with a button that calls predict()
|
60 |
app = gr.Interface(
|
61 |
fn=predict,
|
62 |
-
inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=['
|
63 |
examples = [[MODEL_BUF["name"], text]],
|
64 |
title="FReE",
|
65 |
description="Financial relations classifier"
|
|
|
59 |
#Create a gradio app with a button that calls predict()
|
60 |
app = gr.Interface(
|
61 |
fn=predict,
|
62 |
+
inputs=[gr.inputs.Dropdown(model_name_list, label="Model Name"), 'text'], outputs=['Output'],
|
63 |
examples = [[MODEL_BUF["name"], text]],
|
64 |
title="FReE",
|
65 |
description="Financial relations classifier"
|