Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks(analytics_enabled=False, css='style.css') as demo:
|
|
65 |
label="Short Ru",
|
66 |
placeholder="девушка",
|
67 |
)
|
68 |
-
Translate = gr.Button("Ru
|
69 |
input_text = gr.Textbox(
|
70 |
label="Short En",
|
71 |
placeholder="girl",
|
@@ -78,8 +78,8 @@ with gr.Blocks(analytics_enabled=False, css='style.css') as demo:
|
|
78 |
placeholder="proto, girl, high details",
|
79 |
)
|
80 |
with gr.Column(scale=1):
|
81 |
-
Literally = gr.Button("
|
82 |
-
Explain = gr.Button("
|
83 |
|
84 |
with gr.Row(elem_id="params"):
|
85 |
with gr.Column():
|
@@ -87,16 +87,16 @@ with gr.Blocks(analytics_enabled=False, css='style.css') as demo:
|
|
87 |
|
88 |
with gr.Row(elem_id="paints"):
|
89 |
with gr.Column():
|
90 |
-
run1 = gr.Button("
|
91 |
output1=gr.Image()
|
92 |
with gr.Column():
|
93 |
-
run2 = gr.Button("
|
94 |
output2=gr.Image()
|
95 |
with gr.Column():
|
96 |
-
run3 = gr.Button("
|
97 |
output3=gr.Image()
|
98 |
# with gr.Column():
|
99 |
-
# run4 = gr.Button("
|
100 |
# output4=gr.Image()
|
101 |
|
102 |
gr.Markdown("Honor artists: Yayoi Kusama, Pablo Picasso, Leonardo da Vinci, Banksy, Rembrandt, Frida Kahlo, Vincent van Gogh, Henri Matisse, Salvador Dali, Claude Monet, Andy Warhol, Georgia O'Keeffe, Jackson Pollock, Marcel Duchamp, Edward Hopper, Willem de Kooning, Mark Rothko, David Hockney")
|
|
|
65 |
label="Short Ru",
|
66 |
placeholder="девушка",
|
67 |
)
|
68 |
+
Translate = gr.Button("Ru ▶ En").style(full_width=False)
|
69 |
input_text = gr.Textbox(
|
70 |
label="Short En",
|
71 |
placeholder="girl",
|
|
|
78 |
placeholder="proto, girl, high details",
|
79 |
)
|
80 |
with gr.Column(scale=1):
|
81 |
+
Literally = gr.Button("◀ Literally")
|
82 |
+
Explain = gr.Button("◀ Explain")
|
83 |
|
84 |
with gr.Row(elem_id="params"):
|
85 |
with gr.Column():
|
|
|
87 |
|
88 |
with gr.Row(elem_id="paints"):
|
89 |
with gr.Column():
|
90 |
+
run1 = gr.Button("🔽 Paint")
|
91 |
output1=gr.Image()
|
92 |
with gr.Column():
|
93 |
+
run2 = gr.Button("🔽 Paint")
|
94 |
output2=gr.Image()
|
95 |
with gr.Column():
|
96 |
+
run3 = gr.Button("🔽 Paint")
|
97 |
output3=gr.Image()
|
98 |
# with gr.Column():
|
99 |
+
# run4 = gr.Button("🔽 Paint")
|
100 |
# output4=gr.Image()
|
101 |
|
102 |
gr.Markdown("Honor artists: Yayoi Kusama, Pablo Picasso, Leonardo da Vinci, Banksy, Rembrandt, Frida Kahlo, Vincent van Gogh, Henri Matisse, Salvador Dali, Claude Monet, Andy Warhol, Georgia O'Keeffe, Jackson Pollock, Marcel Duchamp, Edward Hopper, Willem de Kooning, Mark Rothko, David Hockney")
|