Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def classify_text(text):
|
|
| 57 |
return result
|
| 58 |
|
| 59 |
# Create a Gradio interface
|
| 60 |
-
|
| 61 |
|
| 62 |
# Launch the interface
|
| 63 |
-
|
|
|
|
| 57 |
return result
|
| 58 |
|
| 59 |
# Create a Gradio interface
|
| 60 |
+
gradio_app = gr.Interface(fn=classify_text, inputs="text", outputs="label")
|
| 61 |
|
| 62 |
# Launch the interface
|
| 63 |
+
gradio_app.launch()
|