Noperi commited on
Commit
25ffad4
·
1 Parent(s): a83cc8e

Remove @spaces.GPU from async endpoint to fix ZeroGPU NotImplementedError

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -15,7 +15,6 @@ def health():
15
  return {"status": "healthy"}
16
 
17
  @app.get("/download_tg")
18
- @spaces.GPU
19
  async def download_telegram_file(file_id: str, bot_token: str, chat_id: str = None, repo: str = None, pat: str = None):
20
  return {"status": "success", "file_id": file_id, "message": "Bridge endpoint working"}
21
 
 
15
  return {"status": "healthy"}
16
 
17
  @app.get("/download_tg")
 
18
  async def download_telegram_file(file_id: str, bot_token: str, chat_id: str = None, repo: str = None, pat: str = None):
19
  return {"status": "success", "file_id": file_id, "message": "Bridge endpoint working"}
20