Spaces:
Sleeping
Sleeping
Update app/run.py
Browse files- app/run.py +1 -1
app/run.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
hf_cache_dir = os.getenv('HF_HOME', '/app/cache')
|
5 |
|
6 |
# Ensure the directory exists
|
7 |
-
os.makedirs(
|
8 |
|
9 |
import logging
|
10 |
from flask import Flask, request, jsonify
|
|
|
4 |
hf_cache_dir = os.getenv('HF_HOME', '/app/cache')
|
5 |
|
6 |
# Ensure the directory exists
|
7 |
+
os.makedirs(cache_dir, exist_ok=True)
|
8 |
|
9 |
import logging
|
10 |
from flask import Flask, request, jsonify
|