E-Hospital commited on
Commit
4c4c643
1 Parent(s): 3de3aa5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -158,3 +158,6 @@ def chatbot(patient_id, user_data: dict=None):
158
  return {"response": response}
159
  finally:
160
  db.close_db()
 
 
 
 
158
  return {"response": response}
159
  finally:
160
  db.close_db()
161
+
162
+ if __name__=='__main__':
163
+ uvicorn.run('main:app', reload=True)