kevinwang676 commited on
Commit
6a9b895
1 Parent(s): d68a8a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,6 @@ YOUR SVG CODE:
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,7 +80,8 @@ with gr.Blocks(css="style.css") as demo:
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
 
 
59
 
60
  return 'output.png'
61
 
 
62
 
63
  with gr.Blocks(css="style.css") as demo:
64
  gr.HTML("<center>"
 
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
+
85
  btn1.click(gpt_control, [inp1, inp2], [out1])
86
 
87