Ubik80 commited on
Commit
d289152
·
verified ·
1 Parent(s): 7699c4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -47,15 +47,9 @@ model = OpenAIServerModel(
47
  temperature=0.5,
48
  model_id="gpt-4",
49
  api_key=os.getenv("OPENAI_API_KEY"),
50
- system_prompt="You are an AI assistant with access to several tools. "
51
- "Always use the available tools to answer questions instead of generating Python code. "
52
- "If a user asks for the current time in a location, call the appropriate tool instead of calculating it manually.",
53
  custom_role_conversions=None,
54
  )
55
 
56
-
57
-
58
-
59
  # Import tool from Hub
60
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
61
 
 
47
  temperature=0.5,
48
  model_id="gpt-4",
49
  api_key=os.getenv("OPENAI_API_KEY"),
 
 
 
50
  custom_role_conversions=None,
51
  )
52
 
 
 
 
53
  # Import tool from Hub
54
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
55