salahIguiliz commited on
Commit
27f5928
·
1 Parent(s): c4810ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -121,13 +121,8 @@ def generation(prompt,text,seed,police_size, lenght, width,number):
121
  return all_outputs
122
 
123
  gr.Interface(fn=generation,
124
- inputs=["text",
125
- "text",
126
- gr.Slider(0, 200),
127
- gr.Slider(0, 200),
128
- gr.Slider(0, 1024),
129
- gr.Slider(0, 1024),
130
- gr.Slider(0, 7)], 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)
131
 
132
 
133
 
 
121
  return all_outputs
122
 
123
  gr.Interface(fn=generation,
124
+ inputs=["text", "text", gr.Slider(0, 200), gr.Slider(0, 200), gr.Slider(0, 1024), gr.Slider(0, 1024),
125
+ gr.Slider(0, 7)], 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)
 
 
 
 
 
126
 
127
 
128