adelinamart commited on
Commit
8ed6974
1 Parent(s): b99bfa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ def predict(input):
9
 
10
  gradio_app = gr.Interface(
11
  predict,
12
- inputs=gr.Image(label="Select info", sources=['upload', 'webcam'], type="pil"),
13
- outputs=[gr.Image(label="Processed Image"), gr.Label(label="Result", num_top_classes=6)],
14
  title="Happy? Or Not?",
15
  )
16
 
 
9
 
10
  gradio_app = gr.Interface(
11
  predict,
12
+ inputs=gr.Textbox(lines=7, label="Info"),
13
+ outputs=[gr.Textbox(label="Processed TEXT"), gr.Label(label="Result", num_top_classes=6)],
14
  title="Happy? Or Not?",
15
  )
16