unifiedGround commited on
Commit
e6b02fd
·
verified ·
1 Parent(s): c022b86

Updates to app.py based on feedback

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,11 +28,11 @@ def handlePrompt(who, doing):
28
 
29
 
30
  with gr.Blocks() as demo:
31
-
32
  gr.HTML( "<H1> Unified Ground Image generator</H1>" )
33
  gr.HTML("<p>Welcome to the People of Color in Climate Image Generator</p>")
34
  gr.HTML("<p>I want to see:</p>")
35
- who = gr.Radio(label="Who", choices=["People of Color", "Black People", "Latinx People", "Indigenous People"], value="People of Color")
36
  doing = gr.Radio(label="action", choices=["in Climate Jobs", "installing Solar and Battery Storage", "working in Off Shore Wind", "installing a heat pump"],value="in Climate Jobs")
37
  generate_btn = gr.Button("Generate Image")
38
  output= gr.Image("images/ug_logo.jpg", height=1024, width=1024, type="pil")
 
28
 
29
 
30
  with gr.Blocks() as demo:
31
+ img1 = gr.Image("images/ug_logo.jpg", height=200, width=200)
32
  gr.HTML( "<H1> Unified Ground Image generator</H1>" )
33
  gr.HTML("<p>Welcome to the People of Color in Climate Image Generator</p>")
34
  gr.HTML("<p>I want to see:</p>")
35
+ who = gr.Radio(label="Who", choices=["People of Color", "Black People", "Latino People", "Indigenous People", "Asian and Pacific Islander People"], value="People of Color")
36
  doing = gr.Radio(label="action", choices=["in Climate Jobs", "installing Solar and Battery Storage", "working in Off Shore Wind", "installing a heat pump"],value="in Climate Jobs")
37
  generate_btn = gr.Button("Generate Image")
38
  output= gr.Image("images/ug_logo.jpg", height=1024, width=1024, type="pil")