Spaces:
Running
Running
Commit
·
6cbf3fa
1
Parent(s):
3958f63
api update
Browse files- requirements.txt +1 -1
- utils.py +1 -1
requirements.txt
CHANGED
|
@@ -4,7 +4,7 @@ pillow
|
|
| 4 |
numpy
|
| 5 |
gradio==5.28.0
|
| 6 |
toml
|
| 7 |
-
piexif
|
| 8 |
pillow>=9.0.0
|
| 9 |
onnxruntime>=1.12.0
|
| 10 |
huggingface-hub
|
|
|
|
| 4 |
numpy
|
| 5 |
gradio==5.28.0
|
| 6 |
toml
|
| 7 |
+
piexif>=1.0.13
|
| 8 |
pillow>=9.0.0
|
| 9 |
onnxruntime>=1.12.0
|
| 10 |
huggingface-hub
|
utils.py
CHANGED
|
@@ -12,7 +12,7 @@ import time
|
|
| 12 |
from PIL import Image
|
| 13 |
|
| 14 |
jwt_token = ''
|
| 15 |
-
url = "https://image
|
| 16 |
headers = {}
|
| 17 |
|
| 18 |
def set_token(token):
|
|
|
|
| 12 |
from PIL import Image
|
| 13 |
|
| 14 |
jwt_token = ''
|
| 15 |
+
url = "https://image.novelai.net/ai/generate-image"
|
| 16 |
headers = {}
|
| 17 |
|
| 18 |
def set_token(token):
|