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