Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -344,7 +344,6 @@ def check_status(top_description):
|
|
344 |
update_top_tag = gr.update(value=f'''
|
345 |
<div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
346 |
<div>
|
347 |
-
<img class="logo" src="file/mirage.png" alt="Mirage Logo"
|
348 |
style="margin: auto; max-width: 7rem;">
|
349 |
<br />
|
350 |
<h1 style="font-weight: 900; font-size: 2.5rem;">
|
@@ -474,16 +473,16 @@ with gr.Blocks(css=css) as demo:
|
|
474 |
#Very hacky approach to emulate dynamically created Gradio components
|
475 |
with gr.Column() as upload_your_concept:
|
476 |
with gr.Column():
|
477 |
-
thing_description = gr.Markdown("Choose 10 photos of yourself, your partner, or your pet (e.g. a dog or cat) to use as input for the AI avatar generator.The AI will then create personalized avatars that look like you in any style you prefer!")
|
478 |
thing_description = gr.Markdown("Steps:")
|
479 |
thing_description = gr.Markdown("1) Attribute a GPU in the settings tab ⚙️")
|
480 |
thing_description = gr.Markdown("2) Get 10 photos of yourself with no other people in the background 📷")
|
481 |
thing_description = gr.Markdown("3) Upload those photos below 🎞️")
|
482 |
-
thing_description = gr.Markdown("4)
|
483 |
-
thing_description = gr.Markdown("5) flex on social media 💪")
|
484 |
thing_experimental = gr.Checkbox(label="Improve faces (prior preservation) - can take longer training but can improve faces", visible=False, value=False)
|
485 |
thing_image_example = gr.HTML('''<div style="display:flex;justify-content:center"><img src="file/cat-toy.png" /></div>''')
|
486 |
-
things_naming = gr.Markdown("
|
487 |
|
488 |
|
489 |
file_collection = []
|
|
|
344 |
update_top_tag = gr.update(value=f'''
|
345 |
<div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
346 |
<div>
|
|
|
347 |
style="margin: auto; max-width: 7rem;">
|
348 |
<br />
|
349 |
<h1 style="font-weight: 900; font-size: 2.5rem;">
|
|
|
473 |
#Very hacky approach to emulate dynamically created Gradio components
|
474 |
with gr.Column() as upload_your_concept:
|
475 |
with gr.Column():
|
476 |
+
thing_description = gr.Markdown("Choose 10 photos of yourself, your partner, or your pet (e.g. a dog or cat) to use as input for the AI avatar generator. The AI will then create personalized avatars that look like you in any style you prefer!")
|
477 |
thing_description = gr.Markdown("Steps:")
|
478 |
thing_description = gr.Markdown("1) Attribute a GPU in the settings tab ⚙️")
|
479 |
thing_description = gr.Markdown("2) Get 10 photos of yourself with no other people in the background 📷")
|
480 |
thing_description = gr.Markdown("3) Upload those photos below 🎞️")
|
481 |
+
thing_description = gr.Markdown("4) Set your custom prompt as 'name1' and run the training 🏃♀️")
|
482 |
+
thing_description = gr.Markdown("5) Test your prompts and flex on social media 💪")
|
483 |
thing_experimental = gr.Checkbox(label="Improve faces (prior preservation) - can take longer training but can improve faces", visible=False, value=False)
|
484 |
thing_image_example = gr.HTML('''<div style="display:flex;justify-content:center"><img src="file/cat-toy.png" /></div>''')
|
485 |
+
things_naming = gr.Markdown("When naming your custom prompt use a made up word that has low chance of the model already knowing it (e.g.: `name1` here). Images will be automatically cropped to 512x512.")
|
486 |
|
487 |
|
488 |
file_collection = []
|