Update UI.py
Browse files
UI.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# UI.py
|
2 |
|
3 |
import gradio as gr
|
4 |
-
from interface import process_and_plot
|
5 |
|
6 |
def create_interface():
|
7 |
"""
|
@@ -130,7 +130,7 @@ def create_interface():
|
|
130 |
value=1,
|
131 |
precision=0
|
132 |
)
|
133 |
-
|
134 |
# Opciones de visualización
|
135 |
show_legend = gr.Checkbox(label="Mostrar leyenda", value=True)
|
136 |
show_params = gr.Checkbox(label="Mostrar parámetros ajustados", value=True)
|
|
|
1 |
# UI.py
|
2 |
|
3 |
import gradio as gr
|
4 |
+
from interface import process_and_plot # Asegúrate de que la ruta es correcta
|
5 |
|
6 |
def create_interface():
|
7 |
"""
|
|
|
130 |
value=1,
|
131 |
precision=0
|
132 |
)
|
133 |
+
|
134 |
# Opciones de visualización
|
135 |
show_legend = gr.Checkbox(label="Mostrar leyenda", value=True)
|
136 |
show_params = gr.Checkbox(label="Mostrar parámetros ajustados", value=True)
|