nreitinger commited on
Commit
8fb9752
·
1 Parent(s): 5138bba

modelProblems

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,7 +5,7 @@ import PIL.Image
5
  import gradio as gr
6
  import gradio.components as grc
7
  import numpy as np
8
- import time
9
 
10
 
11
  # models=[
@@ -33,8 +33,8 @@ def predict(steps, seed):
33
  gr.Interface(
34
  predict,
35
  inputs=[
36
- grc.Slider(1, 1000, label='Inference Steps', value=1000, step=1),
37
- grc.Slider(0, 2147483647, label='Seed', value=69420, step=1),
38
  ],
39
  outputs=gr.Image(height=28, width=28, type="pil", elem_id="output_image"),
40
  css="#output_image{width: 256px !important; height: 256px !important;}",
 
5
  import gradio as gr
6
  import gradio.components as grc
7
  import numpy as np
8
+ # import time
9
 
10
 
11
  # models=[
 
33
  gr.Interface(
34
  predict,
35
  inputs=[
36
+ grc.Slider(1, 1, label='Inference Steps', value=1, step=1),
37
+ grc.Slider(0, 2147483647, label='Seed', value=42, step=1),
38
  ],
39
  outputs=gr.Image(height=28, width=28, type="pil", elem_id="output_image"),
40
  css="#output_image{width: 256px !important; height: 256px !important;}",