Salman11223 commited on
Commit
54b758e
·
verified ·
1 Parent(s): a58bc56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from translator import translation # Assuming your translation class is in a tr
4
 
5
  def app(video_path, original_language, target_language):
6
  # Move to the working directory
7
- os.chdir('/workspace') # Adjust path based on Hugging Face's working directory
8
 
9
  # Use the Gradio-provided path to the uploaded file
10
  video_name = os.path.basename(video_path.name)
 
4
 
5
  def app(video_path, original_language, target_language):
6
  # Move to the working directory
7
+ # os.chdir('/workspace') # Adjust path based on Hugging Face's working directory
8
 
9
  # Use the Gradio-provided path to the uploaded file
10
  video_name = os.path.basename(video_path.name)