Spaces:
Runtime error
Runtime error
AchyuthGamer
commited on
Commit
•
4414022
1
Parent(s):
92f27c3
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
160 |
prompt = gr.Textbox(
|
161 |
label="Enter your prompt",
|
162 |
show_label=False,
|
163 |
-
max_lines=
|
164 |
placeholder="Full Prompt",
|
165 |
).style(
|
166 |
container=False,
|
@@ -184,20 +184,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
184 |
)
|
185 |
with gr.Row():
|
186 |
with gr.Row():
|
187 |
-
output1=gr.Image(label="PhotoMovieX",show_label=False,min_width=640
|
188 |
-
label='Output1',
|
189 |
-
show_label=False,
|
190 |
-
elem_id='gallery'
|
191 |
-
).style(
|
192 |
-
grid=2,height='auto'
|
193 |
-
)
|
194 |
-
image_button = gr.Button("Flip")
|
195 |
-
image_button.click(
|
196 |
-
flip_image,
|
197 |
-
inputs=image_input,
|
198 |
-
outputs=image_output
|
199 |
-
)
|
200 |
-
)
|
201 |
output2=gr.Image(label="PhotoMovieX",show_label=False,min_width=640)
|
202 |
with gr.Row():
|
203 |
with gr.Row():
|
@@ -225,7 +212,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
225 |
gr.HTML(
|
226 |
"""
|
227 |
<div class="footer">
|
228 |
-
<p> Demo for <a href="https://huggingface.co/
|
229 |
</p>
|
230 |
</div>
|
231 |
<div class="acknowledgments" style="font-size: 115%; color: #ffffff;">
|
|
|
160 |
prompt = gr.Textbox(
|
161 |
label="Enter your prompt",
|
162 |
show_label=False,
|
163 |
+
max_lines=20,
|
164 |
placeholder="Full Prompt",
|
165 |
).style(
|
166 |
container=False,
|
|
|
184 |
)
|
185 |
with gr.Row():
|
186 |
with gr.Row():
|
187 |
+
output1=gr.Image(label="PhotoMovieX",show_label=False,min_width=640)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
output2=gr.Image(label="PhotoMovieX",show_label=False,min_width=640)
|
189 |
with gr.Row():
|
190 |
with gr.Row():
|
|
|
212 |
gr.HTML(
|
213 |
"""
|
214 |
<div class="footer">
|
215 |
+
<p> Demo for <a href="https://huggingface.co/AchyuthGamer/ImMagician">Im</a> Stable Diffusion model
|
216 |
</p>
|
217 |
</div>
|
218 |
<div class="acknowledgments" style="font-size: 115%; color: #ffffff;">
|