JiantaoLin
commited on
Commit
Β·
90fcb96
1
Parent(s):
819ce30
new
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import subprocess
|
|
| 4 |
import spaces
|
| 5 |
import ctypes
|
| 6 |
import shlex
|
|
|
|
| 7 |
subprocess.run(
|
| 8 |
shlex.split(
|
| 9 |
"pip install -e ./diffusers --force-reinstall"
|
|
@@ -75,7 +76,6 @@ if 'OMP_NUM_THREADS' not in os.environ:
|
|
| 75 |
os.environ['OMP_NUM_THREADS'] = '32'
|
| 76 |
|
| 77 |
import shutil
|
| 78 |
-
import torch
|
| 79 |
import json
|
| 80 |
import requests
|
| 81 |
import shutil
|
|
|
|
| 4 |
import spaces
|
| 5 |
import ctypes
|
| 6 |
import shlex
|
| 7 |
+
import torch
|
| 8 |
subprocess.run(
|
| 9 |
shlex.split(
|
| 10 |
"pip install -e ./diffusers --force-reinstall"
|
|
|
|
| 76 |
os.environ['OMP_NUM_THREADS'] = '32'
|
| 77 |
|
| 78 |
import shutil
|
|
|
|
| 79 |
import json
|
| 80 |
import requests
|
| 81 |
import shutil
|