Update app.py
Browse files
app.py
CHANGED
@@ -226,10 +226,7 @@ def change_textbox(choice):
|
|
226 |
return [gradio.Slider.update(visible=True), gradio.Slider.update(visible=False), gradio.Slider.update(visible=True), gradio.Slider.update(visible=False)]
|
227 |
|
228 |
|
229 |
-
with gradio.Blocks() as
|
230 |
-
|
231 |
-
|
232 |
-
with demo = gradio.Blocks():
|
233 |
with gradio.Accordion("✨ Read about the ML model here! ✨", open=False):
|
234 |
with gradio.Row():
|
235 |
with gradio.Column():
|
@@ -323,4 +320,4 @@ with demo = gradio.Blocks():
|
|
323 |
btn1.click(fn=geometry, inputs=[num], outputs=[geo])
|
324 |
btn2.click(fn=simple_analysis, inputs=[num], outputs=[pred, true])
|
325 |
|
326 |
-
demo.launch(
|
|
|
226 |
return [gradio.Slider.update(visible=True), gradio.Slider.update(visible=False), gradio.Slider.update(visible=True), gradio.Slider.update(visible=False)]
|
227 |
|
228 |
|
229 |
+
with gradio.Blocks() as demo:
|
|
|
|
|
|
|
230 |
with gradio.Accordion("✨ Read about the ML model here! ✨", open=False):
|
231 |
with gradio.Row():
|
232 |
with gradio.Column():
|
|
|
320 |
btn1.click(fn=geometry, inputs=[num], outputs=[geo])
|
321 |
btn2.click(fn=simple_analysis, inputs=[num], outputs=[pred, true])
|
322 |
|
323 |
+
demo.launch()
|