Spaces:
Running
on
Zero
Running
on
Zero
killwithabass
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,15 +2,17 @@ import gradio as gr
|
|
2 |
import json
|
3 |
import logging
|
4 |
import torch
|
5 |
-
from PIL import Image
|
6 |
import spaces
|
7 |
from diffusers import DiffusionPipeline
|
|
|
8 |
import copy
|
9 |
import random
|
10 |
-
import
|
11 |
import pygsheets
|
|
|
|
|
12 |
|
13 |
-
from transformers.utils.hub import move_cache
|
14 |
|
15 |
# Move cache
|
16 |
move_cache()
|
|
|
2 |
import json
|
3 |
import logging
|
4 |
import torch
|
5 |
+
from PIL import Image, PngImagePlugin
|
6 |
import spaces
|
7 |
from diffusers import DiffusionPipeline
|
8 |
+
from transformers.utils.hub import move_cache
|
9 |
import copy
|
10 |
import random
|
11 |
+
import os
|
12 |
import pygsheets
|
13 |
+
import time
|
14 |
+
|
15 |
|
|
|
16 |
|
17 |
# Move cache
|
18 |
move_cache()
|