Spaces:
Runtime error
Runtime error
Commit
·
9ff3b4a
1
Parent(s):
d12bbcb
Update.app.py
Browse files
app.py
CHANGED
|
@@ -16,15 +16,15 @@ with gr.Blocks() as demo:
|
|
| 16 |
with gr.Tab("Textを入力"):
|
| 17 |
text_input = gr.Textbox()
|
| 18 |
text_output = gr.Textbox()
|
| 19 |
-
text_button = gr.Button("
|
| 20 |
with gr.Tab("ImageをUpload"):
|
| 21 |
with gr.Row():
|
| 22 |
image_input = gr.Image()
|
| 23 |
image_output = gr.Image()
|
| 24 |
-
image_button = gr.Button("
|
| 25 |
|
| 26 |
-
with gr.Accordion("
|
| 27 |
-
gr.Markdown("
|
| 28 |
|
| 29 |
text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
| 30 |
image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
|
|
|
| 16 |
with gr.Tab("Textを入力"):
|
| 17 |
text_input = gr.Textbox()
|
| 18 |
text_output = gr.Textbox()
|
| 19 |
+
text_button = gr.Button("回文作成!")
|
| 20 |
with gr.Tab("ImageをUpload"):
|
| 21 |
with gr.Row():
|
| 22 |
image_input = gr.Image()
|
| 23 |
image_output = gr.Image()
|
| 24 |
+
image_button = gr.Button("ミラー加工します")
|
| 25 |
|
| 26 |
+
with gr.Accordion("説明"):
|
| 27 |
+
gr.Markdown("Textboxを入力してください。 ImageをUploadでは画像のミラー加工ができます。")
|
| 28 |
|
| 29 |
text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
| 30 |
image_button.click(flip_image, inputs=image_input, outputs=image_output)
|