Spaces:
Runtime error
Runtime error
Update tutorial8_app.py
Browse files- tutorial8_app.py +2 -2
tutorial8_app.py
CHANGED
|
@@ -237,8 +237,8 @@ elif load_method == "\U0001F3AE Random sample & manual draw":
|
|
| 237 |
simulation_controls(app_root)
|
| 238 |
|
| 239 |
make_step_renderer(step7_frankenstein)
|
| 240 |
-
|
| 241 |
-
if st.button("⚙️ Run inference"):
|
| 242 |
st.info("Running inference...")
|
| 243 |
modality = st.session_state["modality_idx"]
|
| 244 |
image_slice = st.session_state["processed_img"][:, :, st.session_state["z_idx"]]
|
|
|
|
| 237 |
simulation_controls(app_root)
|
| 238 |
|
| 239 |
make_step_renderer(step7_frankenstein)
|
| 240 |
+
inference_controls()
|
| 241 |
+
if st.button("⚙️ Run inference by Gradio"):
|
| 242 |
st.info("Running inference...")
|
| 243 |
modality = st.session_state["modality_idx"]
|
| 244 |
image_slice = st.session_state["processed_img"][:, :, st.session_state["z_idx"]]
|