broyang commited on
Commit
cec4fa0
·
1 Parent(s): 78e165c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -26,12 +26,12 @@ sb_logo = Image.open("./SB_logo_horizontal.png")
26
 
27
  with gr.Blocks(analytics_enabled=False, theme=gr.themes.Soft()) as demo:
28
  with gr.Row():
29
- with gr.Column():
30
- input = gr.Image(type="pil", label="Upload Image", sources=["upload"])
31
- with gr.Column():
32
- image = gr.Image(label="Sketch Drawing", show_share_button=False)
33
- gr.Markdown("<p style='text-align: center; font-size: 20px;'>Want to remove the watermark?</p>\n")
34
- gr.Markdown("<p style='text-align: center; font-size: 20px;'>Subscribe or <a href='https://skyebrowse.com/pricing'>purchase a model</a> starting at $3.<p>")
35
  examples = gr.Examples(examples=["hotel.jpg", "road_small.jpg", "preview_small.jpg", "trailer.jpg"], inputs=[input])
36
  @gr.on(inputs=[input], outputs=[image], show_progress="minimal")
37
  def sketch(input_path):
 
26
 
27
  with gr.Blocks(analytics_enabled=False, theme=gr.themes.Soft()) as demo:
28
  with gr.Row():
29
+ # with gr.Column():
30
+ input = gr.Image(type="pil", label="Upload Image", sources=["upload"])
31
+ with gr.Row():
32
+ image = gr.Image(label="Sketch Drawing", show_share_button=False)
33
+ gr.Markdown("<p style='text-align: center; font-size: 20px;'>Want to remove the watermark?</p>\n")
34
+ gr.Markdown("<p style='text-align: center; font-size: 20px;'>Subscribe or <a href='https://skyebrowse.com/pricing'>purchase a model</a> starting at $3.<p>")
35
  examples = gr.Examples(examples=["hotel.jpg", "road_small.jpg", "preview_small.jpg", "trailer.jpg"], inputs=[input])
36
  @gr.on(inputs=[input], outputs=[image], show_progress="minimal")
37
  def sketch(input_path):