Spaces:
Runtime error
Runtime error
Comments
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
104 |
choices=sorted(input_files),
|
105 |
type="value",
|
106 |
label="Select a dicom file")
|
107 |
-
n_frames = gr.Slider(1, 100, value=32, label="
|
108 |
button_gen_video = gr.Button("Generate Video")
|
109 |
output_interpolation = gr.Video(label="Generated Video")
|
110 |
button_gen_video.click(fn=generate_dicom_video,
|
|
|
104 |
choices=sorted(input_files),
|
105 |
type="value",
|
106 |
label="Select a dicom file")
|
107 |
+
n_frames = gr.Slider(1, 100, value=32, label="Choose the number of dicom slices to process", step = 1)
|
108 |
button_gen_video = gr.Button("Generate Video")
|
109 |
output_interpolation = gr.Video(label="Generated Video")
|
110 |
button_gen_video.click(fn=generate_dicom_video,
|