Spaces:
Sleeping
Sleeping
kwabs22
commited on
Commit
·
5dd1ae9
1
Parent(s):
6487182
queue?
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def dummyaudioprocess(aud):
|
|
12 |
return aud
|
13 |
|
14 |
with gr.Blocks() as realtimemedia:
|
15 |
-
gr.HTML("Dual Audio and Image and processing test - With inspiration from - https://huggingface.co/spaces/lampongyuen/Gradio-Webcam-Streaming/blob/main/app.py (I thought needed video instead of Image) <br> End goal is SAM on live webcam + audio live with whisper <br> Live interface seems not to work in colab so dont debug there" )
|
16 |
gr.Interface(flip, gr.Image(sources=["webcam"], streaming=True), "image", live=True)
|
17 |
gr.Interface(dummyaudioprocess, gr.Audio(sources=["microphone"], streaming=True), "audio") #, live=True)
|
18 |
|
|
|
12 |
return aud
|
13 |
|
14 |
with gr.Blocks() as realtimemedia:
|
15 |
+
gr.HTML("Dual Audio and Image and processing test - With inspiration from - https://huggingface.co/spaces/lampongyuen/Gradio-Webcam-Streaming/blob/main/app.py (I thought needed video instead of Image) <br> End goal is SAM on live webcam + audio live with whisper <br> Live interface seems not to work in colab so dont debug there (doesnt work for me here, why?)" )
|
16 |
gr.Interface(flip, gr.Image(sources=["webcam"], streaming=True), "image", live=True)
|
17 |
gr.Interface(dummyaudioprocess, gr.Audio(sources=["microphone"], streaming=True), "audio") #, live=True)
|
18 |
|