Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ def run_app(webcam):
|
|
| 46 |
return cv2.cvtColor(frame, cv2.COLOR_BGR2RGB), black_hole_figure, (wave_data, sr)
|
| 47 |
|
| 48 |
iface = gr.Interface(fn=run_app,
|
| 49 |
-
inputs=gr.Image(type="pil"
|
| 50 |
outputs=["image", "plot", "audio"],
|
| 51 |
live=True)
|
| 52 |
|
|
|
|
| 46 |
return cv2.cvtColor(frame, cv2.COLOR_BGR2RGB), black_hole_figure, (wave_data, sr)
|
| 47 |
|
| 48 |
iface = gr.Interface(fn=run_app,
|
| 49 |
+
inputs=gr.Image(type="pil"),
|
| 50 |
outputs=["image", "plot", "audio"],
|
| 51 |
live=True)
|
| 52 |
|