Spaces:
Sleeping
Sleeping
FoodDesert
commited on
Commit
•
dcaa01a
1
Parent(s):
f13e569
Upload 2 files
Browse filesThe most important part of any science venture is to make the art for it. So here is a stylized squirrel on a laptop.
- app.py +6 -5
- transparentsquirrel.png +0 -0
app.py
CHANGED
@@ -655,11 +655,12 @@ with gr.Blocks(css=css) as app:
|
|
655 |
image_tags = gr.Textbox(label="Enter Prompt", placeholder="e.g. fox, outside, detailed background, ...")
|
656 |
bad_tags_illustrated_string = gr.HighlightedText(show_legend=True, color_map={"Unknown Tag":"red","Duplicate":"yellow","Remove Final Comma":"purple","Move Comma Inside Parentheses":"green"}, label="Annotated Prompt")
|
657 |
with gr.Column(scale=1):
|
658 |
-
#gr.Image(label=" ", value="
|
659 |
-
#image_path = os.path.join(os.getcwd(), "
|
660 |
-
#gr.HTML('<div style="text-align: center;"><img src="
|
661 |
-
gr.HTML("<br>" * 2) # Adjust the number of line breaks ("<br>") as needed to push the button down
|
662 |
-
|
|
|
663 |
with gr.Row():
|
664 |
with gr.Column(scale=3):
|
665 |
with gr.Group():
|
|
|
655 |
image_tags = gr.Textbox(label="Enter Prompt", placeholder="e.g. fox, outside, detailed background, ...")
|
656 |
bad_tags_illustrated_string = gr.HighlightedText(show_legend=True, color_map={"Unknown Tag":"red","Duplicate":"yellow","Remove Final Comma":"purple","Move Comma Inside Parentheses":"green"}, label="Annotated Prompt")
|
657 |
with gr.Column(scale=1):
|
658 |
+
#gr.Image(label=" ", value="transparentsquirrel.png", height=155, width=140)
|
659 |
+
#image_path = os.path.join(os.getcwd(), "transparentsquirrel.png")
|
660 |
+
#gr.HTML('<div style="text-align: center;"><img src="transparentsquirrel.png" alt="Cute Mascot" style="max-height: 100px; background: transparent;"></div><br>')
|
661 |
+
#gr.HTML("<br>" * 2) # Adjust the number of line breaks ("<br>") as needed to push the button down
|
662 |
+
gr.Image(value="transparentsquirrel.png",show_label=False, show_download_button=False, show_share_button=False, height=200)
|
663 |
+
submit_button = gr.Button(variant="primary")
|
664 |
with gr.Row():
|
665 |
with gr.Column(scale=3):
|
666 |
with gr.Group():
|
transparentsquirrel.png
CHANGED