Spaces:
Build error
Build error
Rename slider label
Browse files- .vscode/settings.json +3 -0
- 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='
|
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
|