Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ with gr.Blocks() as demo:
|
|
| 121 |
explain_mode = gr.Radio(['deterministic', 'local_llm'], value='deterministic', label='Explanation mode')
|
| 122 |
explanation_out = gr.Textbox(lines=15, label='Explanation')
|
| 123 |
run_btn.click(compute_and_explain,
|
| 124 |
-
inputs=[P1,P2,V1,V2,z1,z2,rho,mu,D,L,roughness,use_darcy,
|
| 125 |
outputs=[numeric_out, explanation_out])
|
| 126 |
|
| 127 |
if __name__ == "__main__":
|
|
|
|
| 121 |
explain_mode = gr.Radio(['deterministic', 'local_llm'], value='deterministic', label='Explanation mode')
|
| 122 |
explanation_out = gr.Textbox(lines=15, label='Explanation')
|
| 123 |
run_btn.click(compute_and_explain,
|
| 124 |
+
inputs=[P1,P2,V1,V2,z1,z2,rho,mu,D,L,roughness,use_darcy,explain_mode],
|
| 125 |
outputs=[numeric_out, explanation_out])
|
| 126 |
|
| 127 |
if __name__ == "__main__":
|