TNK21 commited on
Commit
a4beeaf
·
1 Parent(s): 155535b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ def classify_text(text):
13
 
14
  iface = gr.Interface(
15
  fn=classify_text,
16
- inputs=gr.inputs.Textbox(label="Input Text"),
17
- outputs=gr.outputs.Textbox(label="Classification Result"),
18
  live=True,
19
  title="Multilingual Text Classification",
20
  description="Classify text into categories using BERT-based model.",
 
13
 
14
  iface = gr.Interface(
15
  fn=classify_text,
16
+ inputs=gr.components.Textbox(label="Input Text"),
17
+ outputs=gr.components.Textbox(label="Classification Result"),
18
  live=True,
19
  title="Multilingual Text Classification",
20
  description="Classify text into categories using BERT-based model.",