Chris4K commited on
Commit
3177144
1 Parent(s): d74c78b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -127,14 +127,19 @@ app.add_middleware(
127
 
128
  @app.post("/generate/")
129
  def generate(user_input, history=[]):
130
- return text +" hhhmmm "
 
 
 
 
 
131
 
132
  # load the model asynchronously on startup and save it into memory
133
  @app.on_event("startup")
134
  async def startup():
135
  # Get your crew to work!
136
- result = crew.kickoff()
137
 
138
  print("######################")
139
- print(result)
140
 
 
127
 
128
  @app.post("/generate/")
129
  def generate(user_input, history=[]):
130
+ print("######################")
131
+
132
+ result = crew.kickoff()
133
+ print("######################")
134
+ print(result)
135
+ return result
136
 
137
  # load the model asynchronously on startup and save it into memory
138
  @app.on_event("startup")
139
  async def startup():
140
  # Get your crew to work!
141
+ # result = crew.kickoff()
142
 
143
  print("######################")
144
+ # print(result)
145