Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,7 @@ scheduler_dir = Path(model_path) / "scheduler"
|
|
48 |
|
49 |
device = torch.device("cuda")
|
50 |
|
51 |
-
|
52 |
-
os.makedirs(DATA_DIR, exist_ok=True)
|
53 |
-
LOG_FILE_PATH = os.path.join("/data", "user_requests.csv")
|
54 |
|
55 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32", cache_dir=model_path)
|
56 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32", cache_dir=model_path)
|
|
|
48 |
|
49 |
device = torch.device("cuda")
|
50 |
|
51 |
+
request_log = []
|
|
|
|
|
52 |
|
53 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32", cache_dir=model_path)
|
54 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32", cache_dir=model_path)
|