hotbiz commited on
Commit
201c036
1 Parent(s): cb381d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -1,9 +1,6 @@
1
  import gradio as gr
2
- import numpy as np
3
- import random
4
- import spaces
5
- import torch
6
- from diffusers import DiffusionPipeline
7
 
8
  dtype = torch.bfloat16
9
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
1
  import gradio as gr
2
+
3
+ gr.load("models/black-forest-labs/FLUX.1-schnell").launch()
 
 
 
4
 
5
  dtype = torch.bfloat16
6
  device = "cuda" if torch.cuda.is_available() else "cpu"