Spaces:
Sleeping
Sleeping
Update to imageeditor
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ with gr.Blocks() as demo:
|
|
| 94 |
|
| 95 |
compute_button = gr.Button("Compute Radon")
|
| 96 |
radon_output = gr.Image(label="Radon Transform", interactive=False, type="numpy")
|
| 97 |
-
radon_drawing = gr.
|
| 98 |
inverse_output = gr.Image(label="Reconstructed Image", interactive=False, type="numpy")
|
| 99 |
|
| 100 |
# State to store parameters and the computed sinogram.
|
|
|
|
| 94 |
|
| 95 |
compute_button = gr.Button("Compute Radon")
|
| 96 |
radon_output = gr.Image(label="Radon Transform", interactive=False, type="numpy")
|
| 97 |
+
radon_drawing = gr.ImageEditor(label="Paint on Radon (mask out pixels)", type="numpy")
|
| 98 |
inverse_output = gr.Image(label="Reconstructed Image", interactive=False, type="numpy")
|
| 99 |
|
| 100 |
# State to store parameters and the computed sinogram.
|