moriire commited on
Commit
3cc3cf4
1 Parent(s): 5c275a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ async def generate(gen:GenModel):
116
  """
117
  et = time()
118
  #output["time"] = et - st
119
- return output['choices'][0]
120
  except Exception as e:
121
  logger.error(f"Error in /generate endpoint: {e}")
122
  return JSONResponse(
 
116
  """
117
  et = time()
118
  #output["time"] = et - st
119
+ return output
120
  except Exception as e:
121
  logger.error(f"Error in /generate endpoint: {e}")
122
  return JSONResponse(