Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def run_simulation (inp_file):
|
|
| 33 |
|
| 34 |
# Define Gradio interface
|
| 35 |
iface = gr.Interface(
|
| 36 |
-
fn=
|
| 37 |
inputs=gr.File(label="Upload EPANET .inp file"),
|
| 38 |
outputs="text",
|
| 39 |
title="💧 EPANET Simulation Tool (Gradio + WNTR)",
|
|
|
|
| 33 |
|
| 34 |
# Define Gradio interface
|
| 35 |
iface = gr.Interface(
|
| 36 |
+
fn=run_simulation,
|
| 37 |
inputs=gr.File(label="Upload EPANET .inp file"),
|
| 38 |
outputs="text",
|
| 39 |
title="💧 EPANET Simulation Tool (Gradio + WNTR)",
|