Spaces:
Runtime error
Runtime error
Kvikontent
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import io
|
|
4 |
from PIL import Image
|
5 |
import gradio as gr
|
6 |
|
7 |
-
API_TOKEN = os.environ["
|
8 |
API_URL = "https://api-inference.huggingface.co/models/Kvikontent/kviimager2.0"
|
9 |
HEADERS = {
|
10 |
'Content-Type': 'application/json',
|
|
|
4 |
from PIL import Image
|
5 |
import gradio as gr
|
6 |
|
7 |
+
API_TOKEN = os.environ["API_KEY"] # replace with your own API Token here
|
8 |
API_URL = "https://api-inference.huggingface.co/models/Kvikontent/kviimager2.0"
|
9 |
HEADERS = {
|
10 |
'Content-Type': 'application/json',
|