Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,8 +130,8 @@ def predict_video_frame(frame):
|
|
130 |
|
131 |
demo = gr.Interface(
|
132 |
fn = predict_emotion,
|
133 |
-
inputs = [gr.
|
134 |
-
outputs = gr.
|
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")],
|