Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,9 @@
|
|
1 |
# app.py
|
2 |
|
3 |
-
|
4 |
-
from UI import create_interface # Asegúrate de que UI.py contiene la función create_interface
|
5 |
-
from interface import process_and_plot # Importa la función principal que procesa y genera las gráficas
|
6 |
|
7 |
def main():
|
8 |
-
|
9 |
-
demo = create_interface(process_and_plot)
|
10 |
-
|
11 |
-
# Lanza la aplicación con la opción de compartir
|
12 |
demo.launch(share=True)
|
13 |
|
14 |
if __name__ == "__main__":
|
|
|
1 |
# app.py
|
2 |
|
3 |
+
from UI import create_interface
|
|
|
|
|
4 |
|
5 |
def main():
|
6 |
+
demo = create_interface()
|
|
|
|
|
|
|
7 |
demo.launch(share=True)
|
8 |
|
9 |
if __name__ == "__main__":
|