Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
# Thanks: https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium
|
|
|
2 |
import os
|
3 |
import gradio as gr
|
4 |
import numpy as np
|
5 |
import random
|
6 |
import torch
|
7 |
from diffusers import StableDiffusion3Pipeline, SD3Transformer2DModel, FlowMatchEulerDiscreteScheduler
|
8 |
-
import spaces
|
9 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
10 |
|
11 |
device = "cuda"
|
|
|
1 |
# Thanks: https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium
|
2 |
+
import spaces
|
3 |
import os
|
4 |
import gradio as gr
|
5 |
import numpy as np
|
6 |
import random
|
7 |
import torch
|
8 |
from diffusers import StableDiffusion3Pipeline, SD3Transformer2DModel, FlowMatchEulerDiscreteScheduler
|
|
|
9 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
10 |
|
11 |
device = "cuda"
|