Spaces:
Runtime error
Runtime error
[update] LCM support
Browse files- app.py +4 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
import os
|
|
|
|
|
|
|
|
|
2 |
import torch
|
3 |
import random
|
4 |
import numpy as np
|
|
|
1 |
import os
|
2 |
+
os.system("pip uninstall -y gradio")
|
3 |
+
os.system("pip install gradio==3.47")
|
4 |
+
os.system("pip install diffusers -U")
|
5 |
+
|
6 |
import torch
|
7 |
import random
|
8 |
import numpy as np
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
diffusers
|
2 |
transformers
|
3 |
opencv-python
|
4 |
einops
|
|
|
1 |
+
diffusers
|
2 |
transformers
|
3 |
opencv-python
|
4 |
einops
|