anyisalin commited on
Commit
b810592
1 Parent(s): 20206b1

init commit

Browse files

Signed-off-by: AnyISalIn <anyisalin@gmail.com>

Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -259,7 +259,7 @@ def get_example():
259
  None,
260
  1024,
261
  1024,
262
- "instagram photo, portrait photo of a woman img, colorful, perfect face, natural skin, hard shadows, film grain",
263
  "(No style)",
264
  "(asymmetry, worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth",
265
  ],
@@ -270,7 +270,7 @@ def get_example():
270
  None,
271
  1024,
272
  1024,
273
- "sci-fi, closeup portrait photo of a man img wearing the sunglasses in Iron man suit, face, slim body, high quality, film grain",
274
  "(No style)",
275
  "(asymmetry, worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth",
276
  ],
@@ -284,6 +284,16 @@ with gr.Blocks() as demo:
284
  # elem_id="duplicate-button",
285
  # visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
286
  # )
 
 
 
 
 
 
 
 
 
 
287
  with gr.Row():
288
  with gr.Column(scale=1):
289
  novita_key = gr.Textbox(value="", label="Novita.AI API KEY (store in broweser)", placeholder="novita.ai api key", type="password")
 
259
  None,
260
  1024,
261
  1024,
262
+ "portrait photo of a woman img, perfect face, natural skin,film grain,White dress,castle",
263
  "(No style)",
264
  "(asymmetry, worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth",
265
  ],
 
270
  None,
271
  1024,
272
  1024,
273
+ "portrait photo of a man img, perfect face, natural skin,film grain,spider man,city,upper body ",
274
  "(No style)",
275
  "(asymmetry, worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth",
276
  ],
 
284
  # elem_id="duplicate-button",
285
  # visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
286
  # )
287
+ gr.HTML('''
288
+ <a href="https://novita.ai/?utm_source=huggingface&utm_medium=make-photo&utm_campaign=make-photo">
289
+ <img src="https://raw.githubusercontent.com/wiki/novitalabs/sd-webui-cleaner/images/logo2.png" width="120px;" alt="Unsplash" />
290
+ </a>
291
+ <h1>Make Photo Playground</h1>
292
+ <h3>Start integrate with <a href="https://novita.ai/get-started/Model_training.html?utm_source=huggingface&utm_medium=make-photo&utm_campaign=make-photo">Make Photo API</a>
293
+ <h3> Get Novita.AI API Key from <a href="https://novita.ai/get-started/Account_account_and_key.html?utm_source=huggingface&utm_medium=make-photo&utm_campaign=make-photo">Novita.AI</a></h2>
294
+ '''
295
+ )
296
+
297
  with gr.Row():
298
  with gr.Column(scale=1):
299
  novita_key = gr.Textbox(value="", label="Novita.AI API KEY (store in broweser)", placeholder="novita.ai api key", type="password")