Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ async def generate(gen:GenModel):
|
|
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(
|
|
|
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(
|