Spaces:
Runtime error
Runtime error
Disabling the streaming interface
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ movement_controller = FacePosition()
|
|
8 |
|
9 |
cursor_movement = gr.Interface(
|
10 |
fn = movement_controller.predict,
|
11 |
-
inputs = gr.Image(source='webcam', streaming=
|
12 |
outputs = ['image', 'text'],
|
13 |
live = True,
|
14 |
title = 'Cursor movement controller',
|
@@ -21,7 +21,7 @@ audio_classifier = AudioClassifier()
|
|
21 |
|
22 |
audio_commands = gr.Interface(
|
23 |
fn = audio_classifier.predict,
|
24 |
-
inputs = gr.Audio(source="microphone", type="filepath", streaming=
|
25 |
outputs = "text",
|
26 |
live = True,
|
27 |
title = 'Speech commands recognition (mouse actions)',
|
|
|
8 |
|
9 |
cursor_movement = gr.Interface(
|
10 |
fn = movement_controller.predict,
|
11 |
+
inputs = gr.Image(source='webcam', streaming=False),
|
12 |
outputs = ['image', 'text'],
|
13 |
live = True,
|
14 |
title = 'Cursor movement controller',
|
|
|
21 |
|
22 |
audio_commands = gr.Interface(
|
23 |
fn = audio_classifier.predict,
|
24 |
+
inputs = gr.Audio(source="microphone", type="filepath", streaming=False),
|
25 |
outputs = "text",
|
26 |
live = True,
|
27 |
title = 'Speech commands recognition (mouse actions)',
|