katielink commited on
Commit
f80e05d
1 Parent(s): afcd79b

Rename slider label

Browse files
Files changed (2) hide show
  1. .vscode/settings.json +3 -0
  2. app.py +1 -1
.vscode/settings.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "python.pythonPath": "/opt/homebrew/Caskroom/miniforge/base/envs/hf_test/bin/python"
3
+ }
app.py CHANGED
@@ -127,7 +127,7 @@ with gr.Blocks() as demo:
127
  with gr.Row():
128
  # Get the input file and slice slider as inputs
129
  input_file = gr.File(label='input file')
130
- z_axis = gr.Slider(0, 200, label='z-axis', value=50)
131
 
132
  with gr.Row():
133
  # Show the button with custom label
 
127
  with gr.Row():
128
  # Get the input file and slice slider as inputs
129
  input_file = gr.File(label='input file')
130
+ z_axis = gr.Slider(0, 200, label='slice', value=50)
131
 
132
  with gr.Row():
133
  # Show the button with custom label