Paulwalker4884 commited on
Commit
a2d970f
·
1 Parent(s): 3d64ceb

Initial commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def generate_code(user_input, language):
110
  logger.info(f"Generated prompt: {prompt}")
111
 
112
  response = client.chat.completions.create(
113
- model="qwen/qwen3-coder:free",
114
  messages=[
115
  {"role": "system", "content": f"You are a coding assistant that generates complete and well-explained code in {language}. Always provide clean, working code with comments in Persian when needed."},
116
  {"role": "user", "content": prompt}
 
110
  logger.info(f"Generated prompt: {prompt}")
111
 
112
  response = client.chat.completions.create(
113
+ model="deepseek/deepseek-r1-0528-qwen3-8b:free",
114
  messages=[
115
  {"role": "system", "content": f"You are a coding assistant that generates complete and well-explained code in {language}. Always provide clean, working code with comments in Persian when needed."},
116
  {"role": "user", "content": prompt}