kevinwang676 commited on
Commit
441d4c1
1 Parent(s): 2faa9d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -59,6 +59,7 @@ YOUR SVG CODE:
59
 
60
  return 'output.png'
61
 
 
62
 
63
  with gr.Blocks(css="style.css") as demo:
64
  gr.HTML("<center>"
@@ -80,7 +81,7 @@ with gr.Blocks(css="style.css") as demo:
80
  inp2 = gr.Textbox(label="Position Prompt (as simple as possible)")
81
  btn1 = gr.Button("GPT-4 Control", variant="primary")
82
  with gr.Column():
83
- out1 = gr.Image(label="Output Image", type="pil", interactive=True)
84
  btn1.click(gpt_control, [inp1, inp2], [out1])
85
 
86
 
 
59
 
60
  return 'output.png'
61
 
62
+ out1 = gr.Image(label="Output Image", type="pil", interactive=True)
63
 
64
  with gr.Blocks(css="style.css") as demo:
65
  gr.HTML("<center>"
 
81
  inp2 = gr.Textbox(label="Position Prompt (as simple as possible)")
82
  btn1 = gr.Button("GPT-4 Control", variant="primary")
83
  with gr.Column():
84
+ out1 = out1
85
  btn1.click(gpt_control, [inp1, inp2], [out1])
86
 
87