sariyam commited on
Commit
29e45e3
·
verified ·
1 Parent(s): bfa4f42

Update chatgpt-ad-maker.py

Browse files
Files changed (1) hide show
  1. chatgpt-ad-maker.py +2 -2
chatgpt-ad-maker.py CHANGED
@@ -103,13 +103,13 @@ def process_video(video_path, dot_size=10, spacing=2, invert=False):
103
 
104
  # Create Gradio interface
105
  with gr.Blocks(title="Dotted Pattern Image Maker") as iface:
106
- gr.Markdown("Dotted Pattern Image Maker")
107
  gr.Markdown("Convert your image into a dotted pattern. Adjust dot size and spacing using the sliders.")
108
 
109
  with gr.Tab("Image"):
110
  with gr.Row():
111
  image_input = gr.Image(label="Input Image")
112
- image_output = gr.Image(label="Dotted Output")
113
  with gr.Row():
114
  img_dot_size = gr.Slider(minimum=2, maximum=20, value=10, step=1, label="Dot Size")
115
  img_spacing = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Dot Spacing")
 
103
 
104
  # Create Gradio interface
105
  with gr.Blocks(title="Dotted Pattern Image Maker") as iface:
106
+ gr.Markdown("# Dotted Pattern Image Maker")
107
  gr.Markdown("Convert your image into a dotted pattern. Adjust dot size and spacing using the sliders.")
108
 
109
  with gr.Tab("Image"):
110
  with gr.Row():
111
  image_input = gr.Image(label="Input Image")
112
+ image_output = gr.Image(label="Dotted Output" , type="pil")
113
  with gr.Row():
114
  img_dot_size = gr.Slider(minimum=2, maximum=20, value=10, step=1, label="Dot Size")
115
  img_spacing = gr.Slider(minimum=0, maximum=10, value=2, step=1, label="Dot Spacing")