SPACERUNNER99 commited on
Commit
f07297a
·
verified ·
1 Parent(s): a88794e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -22,7 +22,6 @@ def main(url, parameters, progress=gr.Progress()):
22
  job = transcribe_client.submit(url, api_name="/transcribe")
23
  while not job.done():
24
  time.sleep(0.5)
25
- progress(0.35 + (job.status().progress * 0.15))
26
 
27
  if job.failed():
28
  raise gr.Error("Transcription API failed!")
@@ -48,7 +47,6 @@ def main(url, parameters, progress=gr.Progress()):
48
  )
49
  while not job.done():
50
  time.sleep(0.3)
51
- progress(0.55 + (job.status().progress * 0.15))
52
 
53
  subtitle_file = job.outputs()[0]
54
  finally:
@@ -71,7 +69,6 @@ def main(url, parameters, progress=gr.Progress()):
71
  )
72
  while not job.done():
73
  time.sleep(0.5)
74
- progress(0.75 + (job.status().progress * 0.25))
75
 
76
  output_video = job.outputs()[0]['video']
77
  finally:
 
22
  job = transcribe_client.submit(url, api_name="/transcribe")
23
  while not job.done():
24
  time.sleep(0.5)
 
25
 
26
  if job.failed():
27
  raise gr.Error("Transcription API failed!")
 
47
  )
48
  while not job.done():
49
  time.sleep(0.3)
 
50
 
51
  subtitle_file = job.outputs()[0]
52
  finally:
 
69
  )
70
  while not job.done():
71
  time.sleep(0.5)
 
72
 
73
  output_video = job.outputs()[0]['video']
74
  finally: