navpan2 commited on
Commit
94a9352
·
verified ·
1 Parent(s): 7a3c841

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -15,7 +15,7 @@ async def send_array(array: List[List[List[List[int]]]]):
15
  async def get_array():
16
  if stored_array is None:
17
  raise HTTPException(status_code=404, detail="No array found")
18
- return {"array": stored_array}
19
 
20
  if __name__ == "__main__":
21
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
15
  async def get_array():
16
  if stored_array is None:
17
  raise HTTPException(status_code=404, detail="No array found")
18
+ return stored_array
19
 
20
  if __name__ == "__main__":
21
  uvicorn.run(app, host="0.0.0.0", port=7860)