Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -645,5 +645,10 @@ with gr.Blocks(css=open("styles.css", "r").read(), theme="soft") as app:
|
|
| 645 |
outputs=[login_output, main_panel, login_page, header_row, previous_patient]
|
| 646 |
)
|
| 647 |
|
| 648 |
-
|
| 649 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 645 |
outputs=[login_output, main_panel, login_page, header_row, previous_patient]
|
| 646 |
)
|
| 647 |
|
| 648 |
+
def main():
|
| 649 |
+
init_db()
|
| 650 |
+
app.launch()
|
| 651 |
+
|
| 652 |
+
if __name__ == "__main__":
|
| 653 |
+
main()
|
| 654 |
+
|