massimoavvisati commited on
Commit
3aa1b98
·
verified ·
1 Parent(s): 1536d88

Update app.py

Browse files

Just one example is enough. Also used default_concurrency_limit parameter for queue()

Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -79,13 +79,7 @@ def generate(
79
 
80
 
81
  examples = [
82
- "a cat eating a piece of cheese",
83
- "a ROBOT riding a BLUE horse on Mars, photorealistic",
84
- "a cartoon of a IRONMAN fighting with HULK, wall painting",
85
- "a cute robot artist painting on an easel, concept art",
86
- "Astronaut in a jungle, cold color palette, oil pastel, detailed, 8k",
87
- "An alien grasping a sign board contain word 'Flash', futuristic, neonpunk, detailed",
88
- "Kids going to school, Anime style"
89
  ]
90
 
91
  css = '''
@@ -197,4 +191,4 @@ with gr.Blocks(css=css) as demo:
197
  )
198
 
199
  if __name__ == "__main__":
200
- demo.queue(max_size=50).launch(show_api=True)
 
79
 
80
 
81
  examples = [
82
+ "an icon for a creative APP"
 
 
 
 
 
 
83
  ]
84
 
85
  css = '''
 
191
  )
192
 
193
  if __name__ == "__main__":
194
+ demo.queue(default_concurrency_limit=25).launch(show_api=True)