Spaces:
Sleeping
Sleeping
Salman11223
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ for filename, url in model_files.items():
|
|
35 |
|
36 |
# Translation class
|
37 |
class translation:
|
38 |
-
def
|
39 |
self.video_path = video_path
|
40 |
self.original_language = original_language
|
41 |
self.target_language = target_language
|
|
|
35 |
|
36 |
# Translation class
|
37 |
class translation:
|
38 |
+
def __init__(self, video_path, original_language, target_language):
|
39 |
self.video_path = video_path
|
40 |
self.original_language = original_language
|
41 |
self.target_language = target_language
|