ManjinderUNCC commited on
Commit
4f8e7c3
·
verified ·
1 Parent(s): b89afda

Update gradio_interface.py

Browse files
Files changed (1) hide show
  1. 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.inputs.Textbox(lines=7, label="Enter your text"),
25
- gr.inputs.File(label="Upload a file")
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")