Spaces:
Sleeping
Sleeping
Uncommented Warmup
Browse files
app.py
CHANGED
|
@@ -1071,8 +1071,8 @@ if __name__ == "__main__":
|
|
| 1071 |
logger.info(f"Phi-3-mini LangGraph agent loaded successfully in {load_time:.2f} seconds")
|
| 1072 |
|
| 1073 |
# Step 2: Warm up the model
|
| 1074 |
-
|
| 1075 |
-
|
| 1076 |
|
| 1077 |
interface = create_interface()
|
| 1078 |
interface.queue()
|
|
|
|
| 1071 |
logger.info(f"Phi-3-mini LangGraph agent loaded successfully in {load_time:.2f} seconds")
|
| 1072 |
|
| 1073 |
# Step 2: Warm up the model
|
| 1074 |
+
logger.info("Warming up Phi-3-mini model...")
|
| 1075 |
+
warmup_agent()
|
| 1076 |
|
| 1077 |
interface = create_interface()
|
| 1078 |
interface.queue()
|