Zeyu0601 commited on
Commit
073df2e
·
verified ·
1 Parent(s): 0d97bc1

Update tutorial8_app.py

Browse files
Files changed (1) hide show
  1. 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
- #inference_controls()
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"]]