Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks() as demo:
|
|
76 |
|
77 |
with gr.Row():
|
78 |
input_image = gr.Image(label="上传图像", type="numpy")
|
79 |
-
roi_sketch = gr.
|
80 |
|
81 |
with gr.Row():
|
82 |
result_text = gr.Textbox(label="结果")
|
|
|
76 |
|
77 |
with gr.Row():
|
78 |
input_image = gr.Image(label="上传图像", type="numpy")
|
79 |
+
roi_sketch = gr.Sketchpad(label="绘制ROI", type="numpy", shape=(256, 256))
|
80 |
|
81 |
with gr.Row():
|
82 |
result_text = gr.Textbox(label="结果")
|