Spaces:
Running
on
Zero
Running
on
Zero
Upload 3 files
Browse files- README.md +1 -1
- app.py +2 -1
- requirements.txt +1 -1
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🏆😻
|
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: mit
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.0.1
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: mit
|
app.py
CHANGED
@@ -591,6 +591,7 @@ def check_custom_model(link):
|
|
591 |
|
592 |
css = '''
|
593 |
#gen_btn{height: 100%}
|
|
|
594 |
#title{text-align: center}
|
595 |
#title h1{font-size: 3em; display:inline-flex; align-items:center}
|
596 |
#title img{width: 100px; margin-right: 0.25em}
|
@@ -611,7 +612,7 @@ css = '''
|
|
611 |
#random_btn{font-size: 300%}
|
612 |
.info {text-align:center; !important}
|
613 |
'''
|
614 |
-
with gr.Blocks(theme='
|
615 |
with gr.Tab("FLUX LoRA the Explorer"):
|
616 |
title = gr.HTML(
|
617 |
"""<h1><img src="https://huggingface.co/spaces/John6666/flux-lora-the-explorer/resolve/main/flux_lora.png" alt="LoRA">FLUX LoRA the Explorer Mod</h1>""",
|
|
|
591 |
|
592 |
css = '''
|
593 |
#gen_btn{height: 100%}
|
594 |
+
#gen_column{align-self: stretch}
|
595 |
#title{text-align: center}
|
596 |
#title h1{font-size: 3em; display:inline-flex; align-items:center}
|
597 |
#title img{width: 100px; margin-right: 0.25em}
|
|
|
612 |
#random_btn{font-size: 300%}
|
613 |
.info {text-align:center; !important}
|
614 |
'''
|
615 |
+
with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=css, delete_cache=(60, 3600)) as app:
|
616 |
with gr.Tab("FLUX LoRA the Explorer"):
|
617 |
title = gr.HTML(
|
618 |
"""<h1><img src="https://huggingface.co/spaces/John6666/flux-lora-the-explorer/resolve/main/flux_lora.png" alt="LoRA">FLUX LoRA the Explorer Mod</h1>""",
|
requirements.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
|
|
1 |
torch
|
2 |
git+https://github.com/huggingface/diffusers.git@1131e3d04e3131f4c24565257665d75364d696d9
|
3 |
transformers
|
4 |
git+https://github.com/huggingface/peft.git
|
5 |
sentencepiece
|
6 |
-
spaces==0.30.3
|
7 |
torchvision
|
8 |
huggingface_hub
|
9 |
timm
|
|
|
1 |
+
spaces
|
2 |
torch
|
3 |
git+https://github.com/huggingface/diffusers.git@1131e3d04e3131f4c24565257665d75364d696d9
|
4 |
transformers
|
5 |
git+https://github.com/huggingface/peft.git
|
6 |
sentencepiece
|
|
|
7 |
torchvision
|
8 |
huggingface_hub
|
9 |
timm
|