Spaces:
Sleeping
Sleeping
Anne Marthe Sophie Ngo Bibinbe
commited on
Commit
·
139e866
1
Parent(s):
f651940
fixed error on file
Browse files
app.py
CHANGED
@@ -195,12 +195,12 @@ def process_video(video_path, prompt):
|
|
195 |
output_file = "output.txt" # Placeholder for generated file
|
196 |
|
197 |
'''
|
198 |
-
# Copy the input video to simulate processing
|
199 |
shutil.copy(video_path.name, output_video)
|
200 |
|
201 |
# Create an output text file with the prompt content
|
202 |
with open(output_file, "w") as f:
|
203 |
-
f.write(f"User Prompt: {prompt}\n")
|
204 |
|
205 |
return output_video, output_file
|
206 |
|
|
|
195 |
output_file = "output.txt" # Placeholder for generated file
|
196 |
|
197 |
'''
|
198 |
+
"""# Copy the input video to simulate processing
|
199 |
shutil.copy(video_path.name, output_video)
|
200 |
|
201 |
# Create an output text file with the prompt content
|
202 |
with open(output_file, "w") as f:
|
203 |
+
f.write(f"User Prompt: {prompt}\n")"""
|
204 |
|
205 |
return output_video, output_file
|
206 |
|