Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,6 @@ def classify_text(text):
|
|
15 |
predicted_class = logits.argmax().item() # Get the predicted class
|
16 |
return f"Predicted class: {predicted_class}"
|
17 |
|
18 |
-
# Gradio Interface
|
19 |
-
demo = gr.Interface(fn=classify_text, inputs="text", outputs="text"
|
20 |
demo.launch()
|
|
|
15 |
predicted_class = logits.argmax().item() # Get the predicted class
|
16 |
return f"Predicted class: {predicted_class}"
|
17 |
|
18 |
+
# Gradio Interface without forced layout
|
19 |
+
demo = gr.Interface(fn=classify_text, inputs="text", outputs="text")
|
20 |
demo.launch()
|