Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,10 @@ import time
|
|
| 7 |
from PIL import Image
|
| 8 |
from deep_translator import GoogleTranslator
|
| 9 |
import json
|
|
|
|
|
|
|
| 10 |
|
|
|
|
| 11 |
# Project by Nymbo
|
| 12 |
|
| 13 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
|
|
|
| 7 |
from PIL import Image
|
| 8 |
from deep_translator import GoogleTranslator
|
| 9 |
import json
|
| 10 |
+
from theme import theme
|
| 11 |
+
from fastapi import FastAPI
|
| 12 |
|
| 13 |
+
app = FastAPI()
|
| 14 |
# Project by Nymbo
|
| 15 |
|
| 16 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|