BlahBlah314 commited on
Commit
82135f1
1 Parent(s): 4cc0637

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ def welcome_user(request: gr.Request):
13
 
14
  def doDebug(request: gr.Request):
15
  if request.username == os.environ.get("S2S_USER"):
16
- return gr.Textbox.update(label="Debug Transcription", visible=True)
17
- return gr.Textbox.update(label="Debug Transcription", visible=False)
18
 
19
  def process_transcribe(file):
20
  audio_nparray = file[1]
 
13
 
14
  def doDebug(request: gr.Request):
15
  if request.username == os.environ.get("S2S_USER"):
16
+ return gr.Textbox(label="Debug Transcription", visible=True)
17
+ return gr.Textbox(label="Debug Transcription", visible=False)
18
 
19
  def process_transcribe(file):
20
  audio_nparray = file[1]