sandz7 commited on
Commit
0d88f51
Β·
1 Parent(s): bdcaa9a

added spaces into bot_comms

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,7 +152,6 @@ mode = ""
152
  # gpt_outputs.append(text)
153
  # yield "".join(gpt_outputs)
154
 
155
- @spaces.GPU(duration=120)
156
  async def bot_comms_async(message, history):
157
  global mode
158
 
@@ -183,6 +182,7 @@ async def bot_comms_async(message, history):
183
  gpt_outputs.append(text)
184
  return ["".join(gpt_outputs)]
185
 
 
186
  def bot_comms(message: str, history: Any):
187
  return asyncio.run(bot_comms_async(message, history))
188
 
 
152
  # gpt_outputs.append(text)
153
  # yield "".join(gpt_outputs)
154
 
 
155
  async def bot_comms_async(message, history):
156
  global mode
157
 
 
182
  gpt_outputs.append(text)
183
  return ["".join(gpt_outputs)]
184
 
185
+ @spaces.GPU(duration=120)
186
  def bot_comms(message: str, history: Any):
187
  return asyncio.run(bot_comms_async(message, history))
188