Anurag Bhardwaj commited on
Commit
26802f1
·
verified ·
1 Parent(s): 2f82dee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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"