Spaces:
Running
Running
file path debig
Browse files
app.py
CHANGED
@@ -407,6 +407,7 @@ def create_zip_of_files(file_paths):
|
|
407 |
# Access local files
|
408 |
def get_gradio_file_url(local_path):
|
409 |
relative_path = os.path.relpath(local_path, os.getcwd())
|
|
|
410 |
return f"/gradio_api/file={relative_path}"
|
411 |
|
412 |
# Async generate lecture materials and audio
|
|
|
407 |
# Access local files
|
408 |
def get_gradio_file_url(local_path):
|
409 |
relative_path = os.path.relpath(local_path, os.getcwd())
|
410 |
+
print(f"Relative path: {relative_path}")
|
411 |
return f"/gradio_api/file={relative_path}"
|
412 |
|
413 |
# Async generate lecture materials and audio
|