Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
4094792
1
Parent(s):
c53db80
Update app.py
Browse filesZeroGPU is changed.
We should place “import spaces” at first.
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
from diffusers import AutoPipelineForText2Image
|
3 |
import numpy as np
|
4 |
import math
|
5 |
-
import spaces
|
6 |
import torch
|
7 |
import random
|
8 |
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
from diffusers import AutoPipelineForText2Image
|
4 |
import numpy as np
|
5 |
import math
|
|
|
6 |
import torch
|
7 |
import random
|
8 |
|