Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def generate_code(summary, language):
|
|
17 |
"content": f"Generate efficient {language} code for the following task without any explanations or comments: {summary}",
|
18 |
}
|
19 |
],
|
20 |
-
model="
|
21 |
stream=False,
|
22 |
)
|
23 |
generated_code = chat_completion.choices[0].message.content
|
|
|
17 |
"content": f"Generate efficient {language} code for the following task without any explanations or comments: {summary}",
|
18 |
}
|
19 |
],
|
20 |
+
model="starcoder", # Specify the model you want to use
|
21 |
stream=False,
|
22 |
)
|
23 |
generated_code = chat_completion.choices[0].message.content
|