Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ import os
|
|
6 |
from PIL import Image
|
7 |
from deep_translator import GoogleTranslator
|
8 |
from langdetect import detect
|
|
|
9 |
|
10 |
API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
|
11 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
|
|
6 |
from PIL import Image
|
7 |
from deep_translator import GoogleTranslator
|
8 |
from langdetect import detect
|
9 |
+
import json
|
10 |
|
11 |
API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
|
12 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|