Spaces:
Runtime error
Runtime error
Commit
β’
4e857ac
1
Parent(s):
f4eb3ba
Update app.py
Browse files
app.py
CHANGED
@@ -208,18 +208,19 @@ with gr.Blocks(css=css) as demo:
|
|
208 |
prompt = gr.Textbox(label="Your prompt", info="Rearrange the trigger words into a coherent prompt", show_label=False, interactive=True, elem_id="prompt")
|
209 |
run_btn = gr.Button("Run", elem_id="run_button")
|
210 |
output_image = gr.Image(label="Output", height=355, elem_id="output_image", interactive=False)
|
211 |
-
with gr.
|
212 |
-
with gr.
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
with gr.
|
220 |
-
|
221 |
-
|
222 |
-
|
|
|
223 |
gr.Markdown('<sub><sup>Rating helps finding which LoRAs are most compatible π€, results are shared annonymously <a href="https://huggingface.co/datasets/multimodalart/lora-fusing-preferences" target="_blank">here</a></sup></sub>')
|
224 |
with gr.Accordion("Advanced settings", open=False):
|
225 |
with gr.Row():
|
|
|
208 |
prompt = gr.Textbox(label="Your prompt", info="Rearrange the trigger words into a coherent prompt", show_label=False, interactive=True, elem_id="prompt")
|
209 |
run_btn = gr.Button("Run", elem_id="run_button")
|
210 |
output_image = gr.Image(label="Output", height=355, elem_id="output_image", interactive=False)
|
211 |
+
with gr.Column(visible=False, elem_id="post_gen_info") as post_gen_info:
|
212 |
+
with gr.Row():
|
213 |
+
with gr.Column(min_width=10):
|
214 |
+
thumbs_up = gr.Button("π", elem_id="thumbs_up_unclicked")
|
215 |
+
thumbs_up_clicked = gr.Button("π", elem_id="thumbs_up_clicked", interactive=False, visible=False)
|
216 |
+
with gr.Column(min_width=10):
|
217 |
+
thumbs_down = gr.Button("π", elem_id="thumbs_down_unclicked")
|
218 |
+
thumbs_down_clicked = gr.Button("π", elem_id="thumbs_down_clicked", interactive=False, visible=False)
|
219 |
+
with gr.Column(min_width=10):
|
220 |
+
with gr.Group(elem_id="share-btn-container") as share_group:
|
221 |
+
community_icon = gr.HTML(community_icon_html)
|
222 |
+
loading_icon = gr.HTML(loading_icon_html)
|
223 |
+
share_button = gr.Button("Share to community", elem_id="share-btn")
|
224 |
gr.Markdown('<sub><sup>Rating helps finding which LoRAs are most compatible π€, results are shared annonymously <a href="https://huggingface.co/datasets/multimodalart/lora-fusing-preferences" target="_blank">here</a></sup></sub>')
|
225 |
with gr.Accordion("Advanced settings", open=False):
|
226 |
with gr.Row():
|