multimodalart HF staff commited on
Commit
51270f5
1 Parent(s): b41fb97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,9 +1,10 @@
1
  import gradio as gr
2
  import numpy as np
3
-
 
4
  from diffusers import FluxPriorReduxPipeline, FluxPipeline
5
  from diffusers.utils import load_image
6
- import spaces
7
 
8
  MAX_SEED = np.iinfo(np.int32).max
9
  MAX_IMAGE_SIZE = 2048
 
1
  import gradio as gr
2
  import numpy as np
3
+ import spaces
4
+ import torch
5
  from diffusers import FluxPriorReduxPipeline, FluxPipeline
6
  from diffusers.utils import load_image
7
+
8
 
9
  MAX_SEED = np.iinfo(np.int32).max
10
  MAX_IMAGE_SIZE = 2048