Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -458,13 +458,17 @@ with gr.Blocks(css=css) as demo:
|
|
| 458 |
gap: 1.2rem;
|
| 459 |
font-size: 1.75rem;
|
| 460 |
margin-bottom: 15px;
|
| 461 |
-
width:
|
| 462 |
margin: 0 auto;
|
| 463 |
justify-content: center;
|
| 464 |
">
|
| 465 |
<a href="https://github.com/FlagAI-Open/FlagAI"><img src="https://raw.githubusercontent.com/FlagAI-Open/FlagAI/master/logo.png" alt="FlagAI" width="80%" style="margin: 0 auto;"></a>
|
| 466 |
</div>
|
| 467 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 468 |
This is a dreambooth Training UI for <a href="https://huggingface.co/BAAI/AltDiffusion-m9" style="text-decoration: underline;">AltDiffusion-m9 model</a>,which is a multilingual image-to-text model supported 9 languages.
|
| 469 |
You can duplicate this space to your own!<a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
|
| 470 |
</p>
|
|
@@ -503,7 +507,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 503 |
</div>
|
| 504 |
''')
|
| 505 |
|
| 506 |
-
gr.Markdown("# Dreambooth Training UI 💭")
|
| 507 |
gr.Markdown("Customize AltDiffusion and AltDiffusion-m9(ⁿᵉʷ!) by giving it a few examples of a concept. Based on the [🧨 diffusers](https://github.com/huggingface/diffusers) implementation, additional techniques from [TheLastBen](https://github.com/TheLastBen/diffusers) and [ShivamShrirao](https://github.com/ShivamShrirao/diffusers)")
|
| 508 |
|
| 509 |
with gr.Row() as what_are_you_training:
|
|
|
|
| 458 |
gap: 1.2rem;
|
| 459 |
font-size: 1.75rem;
|
| 460 |
margin-bottom: 15px;
|
| 461 |
+
width: 200px;
|
| 462 |
margin: 0 auto;
|
| 463 |
justify-content: center;
|
| 464 |
">
|
| 465 |
<a href="https://github.com/FlagAI-Open/FlagAI"><img src="https://raw.githubusercontent.com/FlagAI-Open/FlagAI/master/logo.png" alt="FlagAI" width="80%" style="margin: 0 auto;"></a>
|
| 466 |
</div>
|
| 467 |
+
<br />
|
| 468 |
+
<h1 style="font-weight: 900; font-size: 2.5rem;">
|
| 469 |
+
Dreambooth Web UI
|
| 470 |
+
</h1>
|
| 471 |
+
<p style="margin-bottom: 10px; font-size: 94%">
|
| 472 |
This is a dreambooth Training UI for <a href="https://huggingface.co/BAAI/AltDiffusion-m9" style="text-decoration: underline;">AltDiffusion-m9 model</a>,which is a multilingual image-to-text model supported 9 languages.
|
| 473 |
You can duplicate this space to your own!<a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
|
| 474 |
</p>
|
|
|
|
| 507 |
</div>
|
| 508 |
''')
|
| 509 |
|
| 510 |
+
# gr.Markdown("# Dreambooth Training UI 💭")
|
| 511 |
gr.Markdown("Customize AltDiffusion and AltDiffusion-m9(ⁿᵉʷ!) by giving it a few examples of a concept. Based on the [🧨 diffusers](https://github.com/huggingface/diffusers) implementation, additional techniques from [TheLastBen](https://github.com/TheLastBen/diffusers) and [ShivamShrirao](https://github.com/ShivamShrirao/diffusers)")
|
| 512 |
|
| 513 |
with gr.Row() as what_are_you_training:
|