Spaces:
Sleeping
Sleeping
Update api_server.py
Browse files- api_server.py +1 -1
api_server.py
CHANGED
|
@@ -97,7 +97,7 @@ check_memory_usage()
|
|
| 97 |
# Initialize the Flask application
|
| 98 |
app = Flask(__name__)
|
| 99 |
# Initialize the ClipModel at the start
|
| 100 |
-
|
| 101 |
|
| 102 |
check_memory_usage()
|
| 103 |
|
|
|
|
| 97 |
# Initialize the Flask application
|
| 98 |
app = Flask(__name__)
|
| 99 |
# Initialize the ClipModel at the start
|
| 100 |
+
clip_model = ClipModel()
|
| 101 |
|
| 102 |
check_memory_usage()
|
| 103 |
|