zeon8985army commited on
Commit
051b574
·
1 Parent(s): bc0e0f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import time
4
  import requests
5
 
6
  list_stack=[]
7
- api_url='http://5cfe-35-229-230-69.ngrok.io/upload'
8
 
9
  def get_transcription_whissper_api(audio,api_url=api_url):
10
  audio_file = open(audio, 'rb')
@@ -182,7 +182,9 @@ with block:
182
  label="Input voice",
183
  source="microphone",
184
  type="filepath",
185
- every=3
 
 
186
  )
187
  audio_file_upload = gr.Audio(
188
  label="Input From Example",
 
4
  import requests
5
 
6
  list_stack=[]
7
+ api_url='http://8f0b-35-223-239-212.ngrok.io/upload'
8
 
9
  def get_transcription_whissper_api(audio,api_url=api_url):
10
  audio_file = open(audio, 'rb')
 
182
  label="Input voice",
183
  source="microphone",
184
  type="filepath",
185
+ streaming=True
186
+ #every=3,
187
+
188
  )
189
  audio_file_upload = gr.Audio(
190
  label="Input From Example",