Spaces:
Running
Running
fix typo
Browse files- interfaces/illframes.py +1 -1
interfaces/illframes.py
CHANGED
@@ -68,7 +68,7 @@ def predict_illframes(text, domain):
|
|
68 |
return predict(text, model_id, tokenizer_id, label_names)
|
69 |
|
70 |
demo = gr.Interface(
|
71 |
-
fn=
|
72 |
inputs=[gr.Textbox(lines=6, label="Input"),
|
73 |
gr.Dropdown(languages, label="Language"),
|
74 |
gr.Dropdown(domains.keys(), label="Domain")],
|
|
|
68 |
return predict(text, model_id, tokenizer_id, label_names)
|
69 |
|
70 |
demo = gr.Interface(
|
71 |
+
fn=predict_illframes,
|
72 |
inputs=[gr.Textbox(lines=6, label="Input"),
|
73 |
gr.Dropdown(languages, label="Language"),
|
74 |
gr.Dropdown(domains.keys(), label="Domain")],
|