sapthesh commited on
Commit
5d39ba6
Β·
verified Β·
1 Parent(s): 3e7fb54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -40,10 +40,10 @@ def classify_text(text):
40
  try:
41
  iface = gr.Interface(
42
  fn=classify_text,
43
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter text here..."), # Corrected here
44
  outputs=[
45
- gr.outputs.Label(label="Predicted Class"),
46
- gr.outputs.Label(label="Probabilities")
47
  ],
48
  title="DeepSeek-V3 Text Classification",
49
  description="Classify text using the DeepSeek-V3 model."
 
40
  try:
41
  iface = gr.Interface(
42
  fn=classify_text,
43
+ inputs=gr.Textbox(lines=2, placeholder="Enter text here..."), # Updated here
44
  outputs=[
45
+ gr.Label(label="Predicted Class"), # Updated here
46
+ gr.Label(label="Probabilities") # Updated here
47
  ],
48
  title="DeepSeek-V3 Text Classification",
49
  description="Classify text using the DeepSeek-V3 model."