leilaghomashchi commited on
Commit
c3da9d7
·
verified ·
1 Parent(s): 3cc495f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -215,7 +215,7 @@ def process(input_text: str, api_key_cerebras: str, api_key_gpt: str) -> Tuple[s
215
  "https://api.openai.com/v1/chat/completions",
216
  headers={"Authorization": f"Bearer {api_key_gpt}"},
217
  json={
218
- "model": "gpt-3.5-turbo",
219
  "messages": [
220
  {"role": "system", "content": "شما دستیار هوشمند هستید. متن‌های ناشناس‌شده را تحلیل کنید."},
221
  {"role": "user", "content": prompt}
 
215
  "https://api.openai.com/v1/chat/completions",
216
  headers={"Authorization": f"Bearer {api_key_gpt}"},
217
  json={
218
+ "model": "gpt-4o-mini" ,
219
  "messages": [
220
  {"role": "system", "content": "شما دستیار هوشمند هستید. متن‌های ناشناس‌شده را تحلیل کنید."},
221
  {"role": "user", "content": prompt}