Spaces:
Sleeping
Sleeping
typo
Browse files
app.py
CHANGED
@@ -225,7 +225,7 @@ with gr.Blocks() as demo:
|
|
225 |
|
226 |
# GradioのFileコンポーネントでファイル選択ボタンを追加
|
227 |
gr.HTML('<input type="file" id="input_file" style="display:none;">')
|
228 |
-
input_file_button = gr.Button("Upload
|
229 |
crop_button = gr.Button("Crop", elem_id="crop_button", variant="primary")
|
230 |
# 画像を表示するためのHTML画像タグをGradioで表示
|
231 |
gr.HTML('<img id="crop_view" style="max-width:100%;">')
|
|
|
225 |
|
226 |
# GradioのFileコンポーネントでファイル選択ボタンを追加
|
227 |
gr.HTML('<input type="file" id="input_file" style="display:none;">')
|
228 |
+
input_file_button = gr.Button("Upload and Crop Image", elem_id="input_file_button", variant="primary")
|
229 |
crop_button = gr.Button("Crop", elem_id="crop_button", variant="primary")
|
230 |
# 画像を表示するためのHTML画像タグをGradioで表示
|
231 |
gr.HTML('<img id="crop_view" style="max-width:100%;">')
|