kwabs22 commited on
Commit
739de2f
·
1 Parent(s): e21dceb
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ def dummyaudioprocess(aud):
11
  time.sleep(3)
12
 
13
  with gr.Blocks() as realtimemedia:
14
- 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 " )
15
  gr.Interface(flip, gr.Image(sources=["webcam"], streaming=True), "image", live=True)
16
- gr.Interface(flip, gr.Audio(sources=["mixrophone"], streaming=True), "audio", live=True)
17
 
18
  realtimemedia.launch()
 
11
  time.sleep(3)
12
 
13
  with gr.Blocks() as realtimemedia:
14
+ 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" )
15
  gr.Interface(flip, gr.Image(sources=["webcam"], streaming=True), "image", live=True)
16
+ gr.Interface(flip, gr.Audio(sources=["microphone"], streaming=True), "audio", live=True)
17
 
18
  realtimemedia.launch()