Staticaliza commited on
Commit
f9b23de
·
verified ·
1 Parent(s): 33aa15e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -30,7 +30,9 @@ footer {
30
  def transcribe(input=None, task=DEFAULT_TASK):
31
  print(input)
32
  if input is None: raise gr.Error("Invalid input.")
 
33
  output = repo(input, batch_size=BATCH_SIZE, generate_kwargs={"task": task}, return_timestamps=True)["text"]
 
34
  return output
35
 
36
  def cloud():
 
30
  def transcribe(input=None, task=DEFAULT_TASK):
31
  print(input)
32
  if input is None: raise gr.Error("Invalid input.")
33
+
34
  output = repo(input, batch_size=BATCH_SIZE, generate_kwargs={"task": task}, return_timestamps=True)["text"]
35
+
36
  return output
37
 
38
  def cloud():