Spaces:
Configuration error

yonkasoft commited on
Commit
aa55990
1 Parent(s): a373697

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -19,6 +19,6 @@ def main():
19
 
20
  # Veriyi entegre et
21
  integrate_data(db_connection, model)
22
-
23
  if __name__ == "__main__":
24
- main()
 
19
 
20
  # Veriyi entegre et
21
  integrate_data(db_connection, model)
22
+ return {"message":"api is running"}
23
  if __name__ == "__main__":
24
+ uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)