fruitpicker01 commited on
Commit
95089f1
·
verified ·
1 Parent(s): c4584ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -40,7 +40,15 @@ client = Together(api_key=TOGETHER_API_KEY)
40
  client_mistral = Mistral(api_key=MISTRAL_API_KEY)
41
 
42
  # Авторизация в сервисе GigaChat
43
- chat_pro = GigaChat(credentials=gc_key, model='GigaChat-Pro', max_tokens=68, temperature=1.15, verify_ssl_certs=False)
 
 
 
 
 
 
 
 
44
  chat_lite = GigaChat(credentials=gc_key, model='GigaChat', max_tokens=68, temperature=1.15, verify_ssl_certs=False)
45
  chat_plus = GigaChat(credentials=gc_key, model='GigaChat-Plus', max_tokens=68, temperature=1.15, verify_ssl_certs=False)
46
 
 
40
  client_mistral = Mistral(api_key=MISTRAL_API_KEY)
41
 
42
  # Авторизация в сервисе GigaChat
43
+ # chat_pro = GigaChat(credentials=gc_key, model='GigaChat-Pro', max_tokens=68, temperature=1.15, verify_ssl_certs=False)
44
+ chat_pro = GigaChat(
45
+ credentials=gc_key,
46
+ model='GigaChat-Pro-preview',
47
+ base_url='https://gigachat-preview.devices.sberbank.ru/',
48
+ max_tokens=68,
49
+ temperature=1.15,
50
+ verify_ssl_certs=False
51
+ )
52
  chat_lite = GigaChat(credentials=gc_key, model='GigaChat', max_tokens=68, temperature=1.15, verify_ssl_certs=False)
53
  chat_plus = GigaChat(credentials=gc_key, model='GigaChat-Plus', max_tokens=68, temperature=1.15, verify_ssl_certs=False)
54