Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,4 +7,4 @@ def classify(text):
|
|
7 |
cls= pipeline("text-classification", model=model)
|
8 |
return cls(text, return_all_scores=True)
|
9 |
|
10 |
-
gr.Interface(fn=classify, inputs=["textbox"], outputs="text"
|
|
|
7 |
cls= pipeline("text-classification", model=model)
|
8 |
return cls(text, return_all_scores=True)
|
9 |
|
10 |
+
gr.Interface(fn=classify, inputs=["textbox"], outputs="text").launch(debug=True)
|