Kaynaaf commited on
Commit
4142930
·
verified ·
1 Parent(s): 563e371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -213,12 +213,12 @@ with gr.Blocks(title="Brain MRI Tumor Classifier", theme=gr.themes.Default()) as
213
  gr.Markdown("### ⚙️ Sensitivity Analysis Settings")
214
 
215
  patch_size_slider = gr.Slider(
216
- minimum=10, maximum=50, value=40, step=5,
217
  label="Patch Size",
218
  info="Larger = faster but less detailed"
219
  )
220
  stride_slider = gr.Slider(
221
- minimum=5, maximum=20, value=15, step=5,
222
  label="Stride",
223
  info="Larger = faster but less detailed"
224
  )
@@ -232,6 +232,9 @@ with gr.Blocks(title="Brain MRI Tumor Classifier", theme=gr.themes.Default()) as
232
  ---
233
  **ℹ️ Tip:** Select an image from the dropdown or upload your own,
234
  then click 'Analyze Image' to see predictions and sensitivity maps.
 
 
 
235
  """)
236
 
237
  # Right column - Results
 
213
  gr.Markdown("### ⚙️ Sensitivity Analysis Settings")
214
 
215
  patch_size_slider = gr.Slider(
216
+ minimum=10, maximum=50, value=50, step=5,
217
  label="Patch Size",
218
  info="Larger = faster but less detailed"
219
  )
220
  stride_slider = gr.Slider(
221
+ minimum=5, maximum=20, value=20, step=5,
222
  label="Stride",
223
  info="Larger = faster but less detailed"
224
  )
 
232
  ---
233
  **ℹ️ Tip:** Select an image from the dropdown or upload your own,
234
  then click 'Analyze Image' to see predictions and sensitivity maps.
235
+ ---
236
+ **📝 Note:** The default values for patch size and stride have been set to the maximum due to computational constraints.
237
+ Though the results will be enough for a quick demo.
238
  """)
239
 
240
  # Right column - Results