mike dupont commited on
Commit
198515a
1 Parent(s): 07b4558
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ from fastapi import FastAPI
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from fastapi.responses import JSONResponse
4
  from fastapi.staticfiles import StaticFiles
5
- import numpy as np
6
  import argparse
7
  import os
8
 
@@ -36,7 +36,7 @@ async def invert(text: str):
36
 
37
  @app.get("/data")
38
  async def get_data():
39
- data = {"data": np.random.rand(100).tolist()}
40
  return JSONResponse(data)
41
 
42
 
 
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from fastapi.responses import JSONResponse
4
  from fastapi.staticfiles import StaticFiles
5
+ #import numpy as np
6
  import argparse
7
  import os
8
 
 
36
 
37
  @app.get("/data")
38
  async def get_data():
39
+ data = {"data": [123]}
40
  return JSONResponse(data)
41
 
42