Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,9 +104,9 @@ css = """
|
|
| 104 |
|
| 105 |
with gr.Blocks(css=css) as app:
|
| 106 |
gr.HTML("<center><h1>FLUX.1-Dev with LoRA support</h1></center>")
|
| 107 |
-
with gr.Column(elem_id="
|
| 108 |
with gr.Row():
|
| 109 |
-
with gr.Column(
|
| 110 |
with gr.Row():
|
| 111 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
| 112 |
with gr.Row():
|
|
@@ -126,14 +126,14 @@ with gr.Blocks(css=css) as app:
|
|
| 126 |
with gr.Row():
|
| 127 |
# text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
| 128 |
text_button = gr.Button("✨ Generate Image", variant='primary', elem_classes=["generate-btn"])
|
| 129 |
-
with gr.Column(
|
| 130 |
with gr.Row():
|
| 131 |
image_output = gr.Image(type="pil", label="Image Output", elem_id="gallery")
|
| 132 |
with gr.Row():
|
| 133 |
seed_output = gr.Textbox(label="Seed Used", show_copy_button = True)
|
| 134 |
|
| 135 |
gr.Markdown(article_text)
|
| 136 |
-
with gr.
|
| 137 |
gr.Examples(
|
| 138 |
examples = examples,
|
| 139 |
inputs = [text_prompt],
|
|
|
|
| 104 |
|
| 105 |
with gr.Blocks(css=css) as app:
|
| 106 |
gr.HTML("<center><h1>FLUX.1-Dev with LoRA support</h1></center>")
|
| 107 |
+
with gr.Column(elem_id="col-container"):
|
| 108 |
with gr.Row():
|
| 109 |
+
with gr.Column():
|
| 110 |
with gr.Row():
|
| 111 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
| 112 |
with gr.Row():
|
|
|
|
| 126 |
with gr.Row():
|
| 127 |
# text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
| 128 |
text_button = gr.Button("✨ Generate Image", variant='primary', elem_classes=["generate-btn"])
|
| 129 |
+
with gr.Column():
|
| 130 |
with gr.Row():
|
| 131 |
image_output = gr.Image(type="pil", label="Image Output", elem_id="gallery")
|
| 132 |
with gr.Row():
|
| 133 |
seed_output = gr.Textbox(label="Seed Used", show_copy_button = True)
|
| 134 |
|
| 135 |
gr.Markdown(article_text)
|
| 136 |
+
with gr.Column():
|
| 137 |
gr.Examples(
|
| 138 |
examples = examples,
|
| 139 |
inputs = [text_prompt],
|