Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ if not os.path.exists(SAVE_DIR):
|
|
| 16 |
|
| 17 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 18 |
repo_id = "black-forest-labs/FLUX.1-dev"
|
| 19 |
-
adapter_id = "
|
| 20 |
|
| 21 |
pipeline = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
|
| 22 |
pipeline.load_lora_weights(adapter_id)
|
|
@@ -109,7 +109,7 @@ footer {
|
|
| 109 |
}
|
| 110 |
"""
|
| 111 |
|
| 112 |
-
with gr.Blocks(theme=
|
| 113 |
gr.HTML('<div class="title"> First CAT of Huggingface </div>')
|
| 114 |
gr.HTML('<div class="title">😄Image to Video Explore: <a href="https://huggingface.co/spaces/ginigen/theater" target="_blank">https://huggingface.co/spaces/ginigen/theater</a></div>')
|
| 115 |
|
|
|
|
| 16 |
|
| 17 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 18 |
repo_id = "black-forest-labs/FLUX.1-dev"
|
| 19 |
+
adapter_id = "prithivMLmods/EBook-Creative-Cover-Flux-LoRA"
|
| 20 |
|
| 21 |
pipeline = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
|
| 22 |
pipeline.load_lora_weights(adapter_id)
|
|
|
|
| 109 |
}
|
| 110 |
"""
|
| 111 |
|
| 112 |
+
with gr.Blocks(theme=gr.themes.Soft(), css=css, analytics_enabled=False) as demo:
|
| 113 |
gr.HTML('<div class="title"> First CAT of Huggingface </div>')
|
| 114 |
gr.HTML('<div class="title">😄Image to Video Explore: <a href="https://huggingface.co/spaces/ginigen/theater" target="_blank">https://huggingface.co/spaces/ginigen/theater</a></div>')
|
| 115 |
|