Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
gr.load("models/Jovie/Midjourney").launch()
|
4 |
-
from diffusers import DiffusionPipeline
|
5 |
|
6 |
-
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
|
7 |
-
pipe.load_lora_weights("Jovie/Midjourney")
|
8 |
|
9 |
-
|
10 |
-
image = pipe(prompt).images[0]
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
gr.load("models/Jovie/Midjourney").launch()
|
|
|
4 |
|
|
|
|
|
5 |
|
6 |
+
|
|