23A475R commited on
Commit
d04ac31
1 Parent(s): 370ea27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -130,8 +130,8 @@ def predict_video_frame(frame):
130
 
131
  demo = gr.Interface(
132
  fn = predict_emotion,
133
- inputs = [gr.Components.File()], # Corrected input components
134
- outputs = gr.Components.File(),
135
  examples = [
136
  [os.path.join(os.path.dirname(__file__), "images/chandler.jpeg")],
137
  [os.path.join(os.path.dirname(__file__), "images/janice.jpeg")],
 
130
 
131
  demo = gr.Interface(
132
  fn = predict_emotion,
133
+ inputs = [gr.components.File()], # Corrected input components
134
+ outputs = gr.components.File(),
135
  examples = [
136
  [os.path.join(os.path.dirname(__file__), "images/chandler.jpeg")],
137
  [os.path.join(os.path.dirname(__file__), "images/janice.jpeg")],