Spaces:
Running
on
Zero
Running
on
Zero
Anurag Bhardwaj
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,9 @@ import os
|
|
2 |
import torch
|
3 |
from diffusers import DiffusionPipeline
|
4 |
import gradio as gr
|
|
|
5 |
|
|
|
6 |
# Load the base model and apply the LoRA weights for super realism
|
7 |
def load_pipeline():
|
8 |
base_model = "black-forest-labs/FLUX.1-dev"
|
|
|
2 |
import torch
|
3 |
from diffusers import DiffusionPipeline
|
4 |
import gradio as gr
|
5 |
+
import zerogpu
|
6 |
|
7 |
+
zerogpu.initialize()
|
8 |
# Load the base model and apply the LoRA weights for super realism
|
9 |
def load_pipeline():
|
10 |
base_model = "black-forest-labs/FLUX.1-dev"
|