nsfwalex commited on
Commit
1821102
1 Parent(s): e40c4e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -189,7 +189,7 @@ with gr.Blocks(css=css,head=js,fill_height=True) as demo:
189
  min_width=100,
190
  )
191
  random_button = gr.Button("Surprise Me", scale=1, min_width=10)
192
- run_button = gr.Button( "GO!", scale=1, min_width=20)
193
 
194
  random_button.click(fn=lambda x:x, inputs=[prompt], outputs=[prompt], js='''()=>window.g()''')
195
  run_button.click(generate, inputs=[prompt], outputs=[result], js=f'''(p)=>window.postMessageToParent(p,"process_started","demo_hf_{cfg.get("name")}_card", "click_go")''')
 
189
  min_width=100,
190
  )
191
  random_button = gr.Button("Surprise Me", scale=1, min_width=10)
192
+ run_button = gr.Button( "GO!", scale=1, min_width=20, variant="primary",icon="https://huggingface.co/spaces/nsfwalex/sd_card/resolve/main/hot.svg")
193
 
194
  random_button.click(fn=lambda x:x, inputs=[prompt], outputs=[prompt], js='''()=>window.g()''')
195
  run_button.click(generate, inputs=[prompt], outputs=[result], js=f'''(p)=>window.postMessageToParent(p,"process_started","demo_hf_{cfg.get("name")}_card", "click_go")''')