leooj commited on
Commit
a9024b2
1 Parent(s): 50f9f15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def process_text(text):
22
  # Create a Gradio interface
23
  iface = gr.Interface(
24
  fn=process_text,
25
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter text here..."),
26
- outputs=[gr.outputs.Textbox(label="Tokenized Output"), gr.outputs.Textbox(label="Model Output")],
27
  title="DeBERTa Model Text Processing",
28
  description="This interface tokenizes the input text and processes it with the DeBERTa model."
29
  )
 
22
  # Create a Gradio interface
23
  iface = gr.Interface(
24
  fn=process_text,
25
+ inputs=gr.Textbox(lines=2, placeholder="Enter text here..."),
26
+ outputs=[gr.Textbox(label="Tokenized Output"), gr.outputs.Textbox(label="Model Output")],
27
  title="DeBERTa Model Text Processing",
28
  description="This interface tokenizes the input text and processes it with the DeBERTa model."
29
  )