Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ import os
|
|
5 |
# Get your Hugging Face token from environment variables
|
6 |
HF_Token = os.getenv("HF_TOKEN")
|
7 |
|
8 |
-
# Initialize the inference client with a coding specialized model
|
9 |
client = InferenceClient(
|
10 |
-
model="
|
11 |
token=HF_Token
|
12 |
)
|
13 |
|
|
|
5 |
# Get your Hugging Face token from environment variables
|
6 |
HF_Token = os.getenv("HF_TOKEN")
|
7 |
|
8 |
+
# Initialize the inference client with a coding specialized model HuggingFaceH4/zephyr-7b-beta
|
9 |
client = InferenceClient(
|
10 |
+
model="Qwen/Qwen2.5-Coder-1.5B-Instruct", # Using StarCoder2 which excels at code generation
|
11 |
token=HF_Token
|
12 |
)
|
13 |
|