DevmanMikey
commited on
Commit
·
fc63650
1
Parent(s):
4b58a64
Replace DashScope with Hugging Face inference for Qwen3-Coder
Browse files- config.py +3 -3
- requirements.txt +4 -4
config.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import os
|
2 |
|
3 |
-
API_KEY = os.getenv('
|
4 |
|
5 |
-
MODEL = "
|
6 |
|
7 |
-
ENDPOINT = "https://
|
8 |
|
9 |
SYSTEM_PROMPT = """You are an expert on frontend design, you will always respond to web design tasks.
|
10 |
Your task is to create a website according to the user's request using either native HTML or React framework.
|
|
|
1 |
import os
|
2 |
|
3 |
+
API_KEY = os.getenv('HF_TOKEN')
|
4 |
|
5 |
+
MODEL = "Qwen/Qwen3-Coder-480B-A35B-Instruct"
|
6 |
|
7 |
+
ENDPOINT = "https://router.huggingface.co/v1"
|
8 |
|
9 |
SYSTEM_PROMPT = """You are an expert on frontend design, you will always respond to web design tasks.
|
10 |
Your task is to create a website according to the user's request using either native HTML or React framework.
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
gradio
|
2 |
-
modelscope_studio
|
3 |
-
|
4 |
-
openai
|
|
|
1 |
+
gradio==5.38.0
|
2 |
+
modelscope_studio==1.4.6
|
3 |
+
huggingface_hub==0.34.4
|
4 |
+
openai==1.104.2
|