Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -7,8 +7,8 @@ import uvicorn
|
|
| 7 |
app = FastAPI() # Create FastAPI instance
|
| 8 |
|
| 9 |
# Define the primary and fallback models
|
| 10 |
-
primary = "
|
| 11 |
-
fallbacks = ["
|
| 12 |
|
| 13 |
# Load Hugging Face API Key
|
| 14 |
HF_API_KEY = os.getenv("HF_API_TOKEN") # Get API key from environment variables
|
|
|
|
| 7 |
app = FastAPI() # Create FastAPI instance
|
| 8 |
|
| 9 |
# Define the primary and fallback models
|
| 10 |
+
primary = "meta-llama/Llama-3.2-3B-Instruct"
|
| 11 |
+
fallbacks = ["meta-llama/Llama-3.2-3B-Instruct", "meta-llama/Llama-3.2-3B-Instruct"]
|
| 12 |
|
| 13 |
# Load Hugging Face API Key
|
| 14 |
HF_API_KEY = os.getenv("HF_API_TOKEN") # Get API key from environment variables
|