Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
26 |
-
outputs=[gr.
|
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 |
)
|