Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -195,11 +195,11 @@ def inference(
|
|
195 |
with gr.Blocks() as app:
|
196 |
gr.Markdown(
|
197 |
'''
|
198 |
-
<center><h1>
|
199 |
-
<span font-size:16px;">Generate stunning
|
200 |
</center>
|
201 |
|
202 |
-
A space by
|
203 |
|
204 |
This project works by using [Monster Labs QR Control Net](https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster).
|
205 |
Given a prompt and your pattern, we use a QR code conditioned controlnet to create a stunning illusion! Credit to: [MrUgleh](https://twitter.com/MrUgleh) for discovering the workflow :)
|
@@ -211,7 +211,7 @@ with gr.Blocks() as app:
|
|
211 |
with gr.Column():
|
212 |
control_image = gr.Image(label="Input Illusion", type="pil", elem_id="control_image")
|
213 |
controlnet_conditioning_scale = gr.Slider(minimum=0.0, maximum=5.0, step=0.01, value=0.8, label="Illusion strength", elem_id="illusion_strength", info="ControlNet conditioning scale")
|
214 |
-
gr.Examples(examples=["arrow.png" ], inputs=control_image)
|
215 |
prompt = gr.Textbox(label="Prompt", elem_id="prompt", info="Type what you want to generate", placeholder="Medieval village scene with busy streets and castle in the distance")
|
216 |
negative_prompt = gr.Textbox(label="Negative Prompt", info="Type what you don't want to see", value="low quality", elem_id="negative_prompt")
|
217 |
with gr.Accordion(label="Advanced Options", open=False):
|
|
|
195 |
with gr.Blocks() as app:
|
196 |
gr.Markdown(
|
197 |
'''
|
198 |
+
<center><h1>Higher Illusions ⬆️</h1></span>
|
199 |
+
<span font-size:16px;">Generate stunning illusions for the higher community</span>
|
200 |
</center>
|
201 |
|
202 |
+
A space by String [Follow me on Warpcast](https://warpcast.com/stringtheory69)
|
203 |
|
204 |
This project works by using [Monster Labs QR Control Net](https://huggingface.co/monster-labs/control_v1p_sd15_qrcode_monster).
|
205 |
Given a prompt and your pattern, we use a QR code conditioned controlnet to create a stunning illusion! Credit to: [MrUgleh](https://twitter.com/MrUgleh) for discovering the workflow :)
|
|
|
211 |
with gr.Column():
|
212 |
control_image = gr.Image(label="Input Illusion", type="pil", elem_id="control_image")
|
213 |
controlnet_conditioning_scale = gr.Slider(minimum=0.0, maximum=5.0, step=0.01, value=0.8, label="Illusion strength", elem_id="illusion_strength", info="ControlNet conditioning scale")
|
214 |
+
gr.Examples(examples=["arrow.png", "arrow_big.png", "arrow_inverse.png", "arrow_inverse_big.png" ], inputs=control_image)
|
215 |
prompt = gr.Textbox(label="Prompt", elem_id="prompt", info="Type what you want to generate", placeholder="Medieval village scene with busy streets and castle in the distance")
|
216 |
negative_prompt = gr.Textbox(label="Negative Prompt", info="Type what you don't want to see", value="low quality", elem_id="negative_prompt")
|
217 |
with gr.Accordion(label="Advanced Options", open=False):
|