Update UI.py
Browse files
UI.py
CHANGED
|
@@ -7,14 +7,6 @@ def create_interface(process_function_for_button):
|
|
| 7 |
Crea la interfaz de usuario completa para el modelado de bioprocesos.
|
| 8 |
"""
|
| 9 |
|
| 10 |
-
# ... (dentro de la funci贸n create_interface)
|
| 11 |
-
|
| 12 |
-
submit_button.click(
|
| 13 |
-
fn=process_function_for_button,
|
| 14 |
-
inputs=all_inputs_for_button,
|
| 15 |
-
outputs=outputs_for_button,
|
| 16 |
-
api_name="process_data" # 隆DESCOMENTA ESTA L脥NEA!
|
| 17 |
-
)
|
| 18 |
|
| 19 |
# ... (resto del c贸digo)
|
| 20 |
with gr.Blocks(theme='gradio/soft') as demo:
|
|
@@ -152,7 +144,7 @@ def create_interface(process_function_for_button):
|
|
| 152 |
fn=process_function_for_button,
|
| 153 |
inputs=all_inputs_for_button,
|
| 154 |
outputs=outputs_for_button,
|
| 155 |
-
|
| 156 |
)
|
| 157 |
|
| 158 |
def set_initial_visibility_on_load_wrapper(b_c_val, s_c_val, p_c_val):
|
|
|
|
| 7 |
Crea la interfaz de usuario completa para el modelado de bioprocesos.
|
| 8 |
"""
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# ... (resto del c贸digo)
|
| 12 |
with gr.Blocks(theme='gradio/soft') as demo:
|
|
|
|
| 144 |
fn=process_function_for_button,
|
| 145 |
inputs=all_inputs_for_button,
|
| 146 |
outputs=outputs_for_button,
|
| 147 |
+
api_name="process_data" # Descomentar si necesitas un nombre de API espec铆fico
|
| 148 |
)
|
| 149 |
|
| 150 |
def set_initial_visibility_on_load_wrapper(b_c_val, s_c_val, p_c_val):
|