Jaward commited on
Commit
b5b37ba
·
verified ·
1 Parent(s): 4ed2a19

file path debig

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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