rahul7star commited on
Commit
a5af344
·
verified ·
1 Parent(s): 35c2f39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,7 +2,9 @@ from fastapi import FastAPI, UploadFile, File
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from huggingface_hub import upload_file
4
  import os
5
-
 
 
6
  app = FastAPI()
7
 
8
  # CORS setup to allow requests from your frontend
 
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from huggingface_hub import upload_file
4
  import os
5
+ import os
6
+ import zipfile
7
+ import tempfile # ✅ Add this!
8
  app = FastAPI()
9
 
10
  # CORS setup to allow requests from your frontend