Spaces:
Running
on
Zero
Running
on
Zero
Update app.py (#3)
Browse files- Update app.py (41e1470eadf2d9b45c7b543e9da792b08f40227b)
Co-authored-by: John Smith <John6666@users.noreply.huggingface.co>
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import torch
|
2 |
from diffusers import StableDiffusion3Pipeline
|
3 |
import gradio as gr
|
@@ -6,7 +7,6 @@ import random
|
|
6 |
import transformers
|
7 |
import numpy as np
|
8 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
9 |
-
import spaces
|
10 |
|
11 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
12 |
|
|
|
1 |
+
import spaces
|
2 |
import torch
|
3 |
from diffusers import StableDiffusion3Pipeline
|
4 |
import gradio as gr
|
|
|
7 |
import transformers
|
8 |
import numpy as np
|
9 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
|
|
10 |
|
11 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
12 |
|