Spaces:
Runtime error
Runtime error
kaushikbar
commited on
Commit
·
d0d3610
1
Parent(s):
8d3edad
Used fasttext for language detection
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ iface = gr.Interface(
|
|
163 |
label="Please enter the text you would like to classify...",
|
164 |
placeholder="Text here..."),
|
165 |
gr.inputs.Textbox(lines=2,
|
166 |
-
label="
|
167 |
placeholder="Labels here separated by comma...")],
|
168 |
outputs=gr.outputs.Label(num_top_classes=5),
|
169 |
capture_session=True,
|
|
|
163 |
label="Please enter the text you would like to classify...",
|
164 |
placeholder="Text here..."),
|
165 |
gr.inputs.Textbox(lines=2,
|
166 |
+
label="Please enter the candidate labels (separated by comma)...",
|
167 |
placeholder="Labels here separated by comma...")],
|
168 |
outputs=gr.outputs.Label(num_top_classes=5),
|
169 |
capture_session=True,
|