Spaces:
Configuration error
Configuration error
Update main.py
Browse files
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)
|