SPACERUNNER99 commited on
Commit
caa238e
·
verified ·
1 Parent(s): 9eaaa4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def main(url, clip_type, parameters, progress=gr.Progress()):
100
 
101
  progress(0.55, desc="در حال ترجمه")
102
  yield "در حال ترجمه", None
103
- Client("rayesh/translate")
104
  subtitle_file = client.predict(
105
  file=handle_file(srt_file),
106
  max_chars=3000,
 
100
 
101
  progress(0.55, desc="در حال ترجمه")
102
  yield "در حال ترجمه", None
103
+ client = Client("rayesh/translate")
104
  subtitle_file = client.predict(
105
  file=handle_file(srt_file),
106
  max_chars=3000,