salahIguiliz commited on
Commit
2e79720
·
1 Parent(s): d5127f7
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,8 +110,8 @@ def generation(prompt,text,seed,police_size, lenght, width,number,num_inference_
110
  return all_outputs
111
 
112
  gr.Interface(fn=generation,
113
- inputs=["text", "text", gr.Slider(0, 200), gr.Slider(0, 200), gr.Slider(0, 1024), gr.Slider(0, 1024),
114
- gr.Slider(0, 7),gr.Slider(0, 20)], outputs=gr.Gallery().style(grid=[2], height="auto"), title="Generate a logo using Text ", examples=[["A steampunk Alphabetic Logo, steampunk style, with glowing mecha parts, mecha alphabets, high quality, high res, ultra HD", "Logo",60,90,512,512,2]]).launch(enable_queue=True)
115
 
116
 
117
 
 
110
  return all_outputs
111
 
112
  gr.Interface(fn=generation,
113
+ inputs=[gr.Textbox(value="A steampunk Alphabetic Logo, steampunk style, with glowing mecha parts, mecha alphabets, high quality, high res, ultra HD"), gr.Textbox(), gr.Slider(0, 200,value=60), gr.Slider(0, 200, value=90), gr.Slider(0, 1024, value=512), gr.Slider(0, 1024, value=512),
114
+ gr.Slider(0, 7,value=2, step=1),gr.Slider(0, 20,value=5, step=1)], outputs=gr.Gallery().style(grid=[2], height="auto"), title="Generate a logo using Text ", examples=[["A steampunk Alphabetic Logo, steampunk style, with glowing mecha parts, mecha alphabets, high quality, high res, ultra HD", "Logo",60,90,512,512,2,5]]).launch(enable_queue=True,cache_examples=True)
115
 
116
 
117