salomonsky commited on
Commit
300af03
·
1 Parent(s): 4bada15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -8,8 +8,6 @@ from io import BytesIO
8
  import html
9
  import re
10
 
11
-
12
-
13
  class Prodia:
14
  def __init__(self, api_key, base=None):
15
  self.base = base or "https://api.prodia.com/v1"
@@ -248,7 +246,7 @@ with gr.Blocks(css=css) as demo:
248
  with gr.Tab("img2img", id='i2i'):
249
  with gr.Row():
250
  with gr.Column(scale=6, min_width=600):
251
- i2i_prompt = gr.Textbox("space warrior, beautiful, female, ultrarealistic, soft lighting, 8k", placeholder="Prompt", show_label=False, lines=3)
252
  i2i_negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3, value="3d, cartoon, anime, (deformed eyes, nose, ears, nose), bad anatomy, ugly")
253
  with gr.Column():
254
  i2i_text_button = gr.Button("Generate", variant='primary', elem_id="generate")
@@ -324,4 +322,4 @@ with gr.Blocks(css=css) as demo:
324
  width, height, cfg_scale],
325
  concurrency_limit=64)
326
 
327
- demo.queue(max_size=80, api_open=False).launch(max_threads=256, show_api=False)
 
8
  import html
9
  import re
10
 
 
 
11
  class Prodia:
12
  def __init__(self, api_key, base=None):
13
  self.base = base or "https://api.prodia.com/v1"
 
246
  with gr.Tab("img2img", id='i2i'):
247
  with gr.Row():
248
  with gr.Column(scale=6, min_width=600):
249
+ i2i_prompt = gr.Textbox("gypsy mystic shaman, fullbody beautiful, female, ultrarealistic, long chinese hair, 8k", placeholder="Prompt", show_label=False, lines=3)
250
  i2i_negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3, value="3d, cartoon, anime, (deformed eyes, nose, ears, nose), bad anatomy, ugly")
251
  with gr.Column():
252
  i2i_text_button = gr.Button("Generate", variant='primary', elem_id="generate")
 
322
  width, height, cfg_scale],
323
  concurrency_limit=64)
324
 
325
+ demo.queue(max_size=80, api_open=False).launch(max_threads=256, show_api=False)