Spaces:
Sleeping
Sleeping
Update gradio_interface.py
Browse files- gradio_interface.py +2 -2
gradio_interface.py
CHANGED
@@ -21,8 +21,8 @@ def save_to_file(text, predicted_labels):
|
|
21 |
|
22 |
# Gradio Interface
|
23 |
inputs = [
|
24 |
-
gr.
|
25 |
-
gr.
|
26 |
]
|
27 |
|
28 |
output = gr.outputs.Textbox(label="Classification Results")
|
|
|
21 |
|
22 |
# Gradio Interface
|
23 |
inputs = [
|
24 |
+
gr.Textbox(lines=7, label="Enter your text"),
|
25 |
+
gr.File(label="Upload a file")
|
26 |
]
|
27 |
|
28 |
output = gr.outputs.Textbox(label="Classification Results")
|