Skip to content

Commit

Permalink
gradio demo width
Browse files Browse the repository at this point in the history
  • Loading branch information
GaParmar committed Mar 21, 2024
1 parent f0f17b6 commit 51c98c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions gradio_sketch2image.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,6 @@ def upload_sketch(file):
"""

with gr.Blocks(css="style.css") as demo:
"""
gr.Markdown("# Pix2pix-Turbo: **Sketch**", elem_id="description")
gr.Markdown(
"**Paper:** One-Step Image Translation with Text-to-Image Models",
elem_id="paper_name",
)
gr.Markdown(
"**GitHub:** https://github.com/GaParmar/img2img-turbo", elem_id="github"
)
"""
# gr.Markdown("## One-Step Image Translation with Text-to-Image Models", elem_id="paper_name")

gr.HTML(
"""
Expand Down Expand Up @@ -259,7 +248,6 @@ def upload_sketch(file):
"""
)


# these are hidden buttons that are used to trigger the canvas changes
line = gr.Checkbox(label="line", value=False, elem_id="cb-line")
eraser = gr.Checkbox(label="eraser", value=False, elem_id="cb-eraser")
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
display: flex;
justify-content: center;
align-items: center;
width: 1000px;
width: 1200px;
}

/* #main_row{
Expand Down

0 comments on commit 51c98c8

Please sign in to comment.