Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ 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-schnell"
|
@@ -76,7 +78,7 @@ css = """
|
|
76 |
"""
|
77 |
|
78 |
# Build the Gradio UI with Blocks
|
79 |
-
with gr.Blocks(theme=
|
80 |
# Add a title to the app
|
81 |
gr.HTML("<center><h1>FLUX.1-Schnell</h1></center>")
|
82 |
|
|
|
8 |
from deep_translator import GoogleTranslator
|
9 |
import json
|
10 |
|
11 |
+
from themes import IndonesiaTheme # Import custom IndonesiaTheme
|
12 |
+
|
13 |
# Project by Nymbo
|
14 |
|
15 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
|
|
78 |
"""
|
79 |
|
80 |
# Build the Gradio UI with Blocks
|
81 |
+
with gr.Blocks(theme=IndonesiaTheme(), css=css) as app:
|
82 |
# Add a title to the app
|
83 |
gr.HTML("<center><h1>FLUX.1-Schnell</h1></center>")
|
84 |
|