Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,9 +15,9 @@ def tagging(
|
|
| 15 |
except error:
|
| 16 |
raise gr.Error(f"Error {error}")
|
| 17 |
|
| 18 |
-
classifier(text_input, candidate_labels)
|
| 19 |
|
| 20 |
-
return
|
| 21 |
|
| 22 |
app = gr.Interface(fn=tagging, inputs=[
|
| 23 |
gr.Textbox(label="Input here"),
|
|
|
|
| 15 |
except error:
|
| 16 |
raise gr.Error(f"Error {error}")
|
| 17 |
|
| 18 |
+
output = classifier(text_input, candidate_labels)
|
| 19 |
|
| 20 |
+
return output
|
| 21 |
|
| 22 |
app = gr.Interface(fn=tagging, inputs=[
|
| 23 |
gr.Textbox(label="Input here"),
|