Update UI.py
Browse files
UI.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
# UI.py
|
2 |
|
3 |
import gradio as gr
|
4 |
-
from interface import process_and_plot
|
5 |
|
6 |
def create_interface():
|
7 |
with gr.Blocks() as demo:
|
@@ -145,6 +144,7 @@ def create_interface():
|
|
145 |
product_eq_count
|
146 |
]
|
147 |
|
|
|
148 |
simulate_btn.click(
|
149 |
fn=process_and_plot,
|
150 |
inputs=simulate_inputs,
|
|
|
1 |
# UI.py
|
2 |
|
3 |
import gradio as gr
|
|
|
4 |
|
5 |
def create_interface():
|
6 |
with gr.Blocks() as demo:
|
|
|
144 |
product_eq_count
|
145 |
]
|
146 |
|
147 |
+
# At the point where you use process_and_plot:
|
148 |
simulate_btn.click(
|
149 |
fn=process_and_plot,
|
150 |
inputs=simulate_inputs,
|