BoxzDev commited on
Commit
87d0c0e
·
verified ·
1 Parent(s): b1b9762

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -7,8 +7,8 @@ import uvicorn # Import uvicorn for running the FastAPI application
7
  app = FastAPI() # Create a FastAPI instance
8
 
9
  # Define the primary and fallback models
10
- primary = "mistralai/Mistral-7B-Instruct-v0.2"
11
- fallbacks = ["mistralai/Mistral-7B-Instruct-v0.2", "mistralai/Mistral-7B-Instruct-v0.2"]
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 a FastAPI instance
8
 
9
  # Define the primary and fallback models
10
+ primary = "Qwen2.5-0.5B"
11
+ fallbacks = ["mistralai/Mistral-7B-Instruct-v0.2", "facebook/bart-large-mnli"]
12
 
13
  # Load Hugging Face API Key
14
  HF_API_KEY = os.getenv("HF_API_TOKEN") # Get API key from environment variables