Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,10 +57,10 @@ def send_it(inputs, noise_level, proc1=proc1):
|
|
57 |
output = proc1(prompt_with_noise)
|
58 |
return output
|
59 |
|
60 |
-
with gr.Blocks(analytics_enabled=False
|
61 |
with gr.Column(elem_id="col-container"):
|
62 |
|
63 |
-
with gr.Row():
|
64 |
input_text_ru = gr.Textbox(
|
65 |
label="Short Ru",
|
66 |
placeholder="девушка",
|
@@ -71,7 +71,7 @@ with gr.Blocks(analytics_enabled=False) as demo: #css='style.css'
|
|
71 |
placeholder="girl",
|
72 |
)
|
73 |
|
74 |
-
with gr.Row():
|
75 |
with gr.Column(scale=1000):
|
76 |
prompt = gr.Textbox(
|
77 |
label="Prompt",
|
@@ -81,11 +81,11 @@ with gr.Blocks(analytics_enabled=False) as demo: #css='style.css'
|
|
81 |
Literally = gr.Button("↩ Literally")
|
82 |
Explain = gr.Button("↩ Explain")
|
83 |
|
84 |
-
with gr.Row():
|
85 |
with gr.Column():
|
86 |
noise_level = gr.Slider(minimum=0.0, value=1.0, maximum=3, step=0.1, label="Noise Level")
|
87 |
|
88 |
-
with gr.Row():
|
89 |
with gr.Column():
|
90 |
run1 = gr.Button("⬇ Paint")
|
91 |
output1=gr.Image()
|
|
|
57 |
output = proc1(prompt_with_noise)
|
58 |
return output
|
59 |
|
60 |
+
with gr.Blocks(analytics_enabled=False, css='style.css') as demo:
|
61 |
with gr.Column(elem_id="col-container"):
|
62 |
|
63 |
+
with gr.Row(elem_id="shorts"):
|
64 |
input_text_ru = gr.Textbox(
|
65 |
label="Short Ru",
|
66 |
placeholder="девушка",
|
|
|
71 |
placeholder="girl",
|
72 |
)
|
73 |
|
74 |
+
with gr.Row(elem_id="longs"):
|
75 |
with gr.Column(scale=1000):
|
76 |
prompt = gr.Textbox(
|
77 |
label="Prompt",
|
|
|
81 |
Literally = gr.Button("↩ Literally")
|
82 |
Explain = gr.Button("↩ Explain")
|
83 |
|
84 |
+
with gr.Row(elem_id="params"):
|
85 |
with gr.Column():
|
86 |
noise_level = gr.Slider(minimum=0.0, value=1.0, maximum=3, step=0.1, label="Noise Level")
|
87 |
|
88 |
+
with gr.Row(elem_id="paints"):
|
89 |
with gr.Column():
|
90 |
run1 = gr.Button("⬇ Paint")
|
91 |
output1=gr.Image()
|