Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,11 @@ _assistant, _thread = None, None
|
|
11 |
def create_assistant(client):
|
12 |
assistant = client.beta.assistants.create(
|
13 |
name="Python Code Generator",
|
14 |
-
instructions=
|
|
|
|
|
|
|
|
|
15 |
model="gpt-4o",
|
16 |
tools=[
|
17 |
{"type": "code_interpreter"},
|
|
|
11 |
def create_assistant(client):
|
12 |
assistant = client.beta.assistants.create(
|
13 |
name="Python Code Generator",
|
14 |
+
instructions=(
|
15 |
+
"You are a Python programming language expert that "
|
16 |
+
"generates Pylint-compliant code and explains it. "
|
17 |
+
"Only execute code when explicitly asked to."
|
18 |
+
),
|
19 |
model="gpt-4o",
|
20 |
tools=[
|
21 |
{"type": "code_interpreter"},
|