Spaces:
nebula
/
Running on Zero

Menyu commited on
Commit
286b8fa
1 Parent(s): e2138e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -1,7 +1,4 @@
1
  import random
2
- import uuid
3
- import json
4
-
5
  import gradio as gr
6
  import numpy as np
7
  import spaces
@@ -143,7 +140,7 @@ with gr.Blocks(css=css) as demo:
143
  )
144
 
145
  gr.on(
146
- triggers=[prompt.submit,negative_prompt.submit,run_button.click],
147
  fn=infer,
148
  inputs=[
149
  prompt,
 
1
  import random
 
 
 
2
  import gradio as gr
3
  import numpy as np
4
  import spaces
 
140
  )
141
 
142
  gr.on(
143
+ triggers=[prompt.submit,run_button.click],
144
  fn=infer,
145
  inputs=[
146
  prompt,