niggathug commited on
Commit
24f8c6c
1 Parent(s): bb670ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ with gr.Blocks() as demo:
148
  with gr.Row():
149
  with gr.Column():
150
  with gr.Group():
151
- image = gr.inputs.Image() # Modified this line
152
  prompt = gr.Textbox(label="Prompt")
153
  style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
154
  run_button = gr.Button("Run")
 
148
  with gr.Row():
149
  with gr.Column():
150
  with gr.Group():
151
+ image = gr.Sketchpad() # Modified this line
152
  prompt = gr.Textbox(label="Prompt")
153
  style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
154
  run_button = gr.Button("Run")