smile commited on
Commit
00e8611
·
1 Parent(s): 7e055ad

test build

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -56,5 +56,6 @@ async def filter_data(filters: dict):
56
  return data.values.tolist()
57
 
58
 
59
- import uvicorn
60
- uvicorn.run(app, host="0.0.0.0", port=7890)
 
 
56
  return data.values.tolist()
57
 
58
 
59
+ if __name__ == "__main__":
60
+ import uvicorn
61
+ uvicorn.run(app, host="0.0.0.0", port=7890)