amarax commited on
Commit
96cad2d
·
1 Parent(s): b64b14f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ class ConversationBot:
130
  return state, state, f'{txt} {image_filename} '
131
 
132
  def init_agent(self, openai_api_key):
133
- self.llm = OpenAI(temperature=0.5, max_tokens=512, openai_api_key=openai_api_key)
134
  self.agent = initialize_agent(
135
  self.tools,
136
  self.llm,
 
130
  return state, state, f'{txt} {image_filename} '
131
 
132
  def init_agent(self, openai_api_key):
133
+ self.llm = OpenAI(temperature=0, max_tokens=512, openai_api_key=openai_api_key)
134
  self.agent = initialize_agent(
135
  self.tools,
136
  self.llm,