zxcgqq commited on
Commit
c12463b
·
1 Parent(s): db39c7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ tools = [StableDiffusionTool().langchain, ImageCaptioningTool().langchain,
14
 
15
  agent = initialize_agent(tools, llm, memory=memory, agent="conversational-react-description", verbose=True)
16
 
17
- def run_text(self, text, state):
18
- output = agent.run(input=("Please create a photo of a dog riding a skateboard "))
19
 
20
  return output,output
21
 
 
14
 
15
  agent = initialize_agent(tools, llm, memory=memory, agent="conversational-react-description", verbose=True)
16
 
17
+ def run_text(text, state):
18
+ output = agent.run(input=(text))
19
 
20
  return output,output
21