willco-afk commited on
Commit
da13488
·
verified ·
1 Parent(s): bba7d55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", layout="vertical")
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()