johann22 commited on
Commit
94958ab
·
verified ·
1 Parent(s): 697b397

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,9 +44,9 @@ def dl(inp,img=None):
44
  out = f"{img}"
45
  return out
46
 
47
-
48
- os.system(f"python diarize.py -a {AUDIO_FILE_NAME}")
49
-
50
 
51
  with gr.Blocks() as app:
52
  inp_url=gr.Textbox()
 
44
  out = f"{img}"
45
  return out
46
 
47
+ def diarize_aud(file_name)
48
+ os.system(f"python diarize.py -a {file_name}")
49
+
50
 
51
  with gr.Blocks() as app:
52
  inp_url=gr.Textbox()