bstraehle commited on
Commit
0b33796
1 Parent(s): 7accea0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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="You are a Python programming language expert that generates Pylint-compliant code and explains it. Only execute code when explicitly asked to.",
 
 
 
 
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"},