ehristoforu
commited on
Commit
•
521a864
1
Parent(s):
f00f8f7
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import random
|
|
5 |
import os
|
6 |
from PIL import Image
|
7 |
|
8 |
-
API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3"
|
9 |
API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free
|
10 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
11 |
|
@@ -159,7 +159,7 @@ with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as dalle:
|
|
159 |
"
|
160 |
>
|
161 |
<h1 style="font-weight: 900; margin-bottom: 7px;margin-top:5px">
|
162 |
-
DALL•E 3
|
163 |
</h1>
|
164 |
</div>
|
165 |
<p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
|
|
|
5 |
import os
|
6 |
from PIL import Image
|
7 |
|
8 |
+
API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
|
9 |
API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free
|
10 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
11 |
|
|
|
159 |
"
|
160 |
>
|
161 |
<h1 style="font-weight: 900; margin-bottom: 7px;margin-top:5px">
|
162 |
+
DALL•E 3 XL
|
163 |
</h1>
|
164 |
</div>
|
165 |
<p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
|