tecuts commited on
Commit
ecc0dc9
·
verified ·
1 Parent(s): 38fa80f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -95,10 +95,6 @@ class DownloadResponse(BaseModel):
95
  download_url: str = None
96
  file_size: int = None # Include file size in the response
97
 
98
- def env_to_cookies_from_env(cookie_path: str):
99
- # Placeholder function for creating cookies file from environment variable
100
- with open(cookie_path, "w") as f:
101
- f.write("dummy_cookie_data")
102
 
103
  @app.post("/download", response_model=DownloadResponse)
104
  async def download_file(request: DownloadRequest):
 
95
  download_url: str = None
96
  file_size: int = None # Include file size in the response
97
 
 
 
 
 
98
 
99
  @app.post("/download", response_model=DownloadResponse)
100
  async def download_file(request: DownloadRequest):