cosmicroxks commited on
Commit
857c978
1 Parent(s): f6e230d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -31,7 +31,7 @@ def infer(prompt, samples, steps, scale, seed):
31
  return images
32
 
33
 
34
-
35
  block = gr.Blocks()
36
 
37
  with block:
@@ -77,6 +77,4 @@ with block:
77
  None,
78
  [],
79
  text,
80
- )
81
-
82
- block.launch()
 
31
  return images
32
 
33
 
34
+ gr.Interface(
35
  block = gr.Blocks()
36
 
37
  with block:
 
77
  None,
78
  [],
79
  text,
80
+ ).launch()