Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ clients['32B-Pro (beta)'] = [
|
|
17 |
requests.get(os.getenv('RUADAPT_PRO_PATH') + '/models', headers={"Authorization": f"Bearer {token}"}).json()['data'][0]['id']
|
18 |
]
|
19 |
|
20 |
-
clients['
|
21 |
-
OpenAI(api_key=token, base_url=os.getenv('
|
22 |
-
requests.get(os.getenv('
|
23 |
]
|
24 |
#clients['7B-Lite (beta)'] = [
|
25 |
# OpenAI(api_key=token, base_url=os.getenv('RUADAPT_LITE_PATH')),
|
@@ -98,7 +98,7 @@ def respond(
|
|
98 |
"""
|
99 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
100 |
"""
|
101 |
-
options = ["32B-Pro (beta)", '
|
102 |
options = options[:2]
|
103 |
system_old = "You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer."
|
104 |
system_new = "Ты Руадапт - полезный и дружелюбный интеллектуальный ассистент для помощи пользователям в их вопросах."
|
|
|
17 |
requests.get(os.getenv('RUADAPT_PRO_PATH') + '/models', headers={"Authorization": f"Bearer {token}"}).json()['data'][0]['id']
|
18 |
]
|
19 |
|
20 |
+
clients['32B-QWQ (preview)'] = [
|
21 |
+
OpenAI(api_key=token, base_url=os.getenv('RUADAPT_QWQ_PATH')),
|
22 |
+
requests.get(os.getenv('RUADAPT_QWQ_PATH') + '/models', headers={"Authorization": f"Bearer {token}"}).json()['data'][0]['id']
|
23 |
]
|
24 |
#clients['7B-Lite (beta)'] = [
|
25 |
# OpenAI(api_key=token, base_url=os.getenv('RUADAPT_LITE_PATH')),
|
|
|
98 |
"""
|
99 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
100 |
"""
|
101 |
+
options = ["32B-Pro (beta)", '32B-QWQ (preview)', "32B QWQ (experimental, without any additional tuning after LEP!)", "7B (work in progress)", "3B"]
|
102 |
options = options[:2]
|
103 |
system_old = "You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer."
|
104 |
system_new = "Ты Руадапт - полезный и дружелюбный интеллектуальный ассистент для помощи пользователям в их вопросах."
|