Rename demo.py to run.py
Browse files- demo.py → run.py +5 -2
demo.py → run.py
RENAMED
@@ -524,7 +524,9 @@ def ecg_analysis():
|
|
524 |
|
525 |
#demo app
|
526 |
|
527 |
-
|
|
|
|
|
528 |
|
529 |
gr.Markdown("<h1><center>TIQUE: AI DEMO CAPABILITIES<center><h1>")
|
530 |
|
@@ -586,7 +588,8 @@ with gr.Blocks(title="TIQUE - AI DEMO CAPABILITIES") as demo:
|
|
586 |
autoencoder_ecg_reconstruction,
|
587 |
classifier_nn_prediction,decision_tree_plot, decision_tree_proba,
|
588 |
llm_cluster])
|
589 |
-
|
|
|
590 |
|
591 |
|
592 |
|
|
|
524 |
|
525 |
#demo app
|
526 |
|
527 |
+
demo = gr.Blocks()
|
528 |
+
|
529 |
+
with demo:
|
530 |
|
531 |
gr.Markdown("<h1><center>TIQUE: AI DEMO CAPABILITIES<center><h1>")
|
532 |
|
|
|
588 |
autoencoder_ecg_reconstruction,
|
589 |
classifier_nn_prediction,decision_tree_plot, decision_tree_proba,
|
590 |
llm_cluster])
|
591 |
+
if __name__ == "__main__":
|
592 |
+
demo.launch()
|
593 |
|
594 |
|
595 |
|