Spaces:
Runtime error
Runtime error
salomonsky
commited on
Commit
•
20ffdd2
1
Parent(s):
740b725
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from PIL import Image
|
|
11 |
|
12 |
translator = Translator()
|
13 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
14 |
-
basemodel = "black-forest-labs/FLUX.1-
|
15 |
MAX_SEED = np.iinfo(np.int32).max
|
16 |
|
17 |
CSS = """
|
@@ -83,7 +83,6 @@ async def gen(
|
|
83 |
|
84 |
with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
85 |
gr.HTML("<h1><center>Flux Lab Light</center></h1>")
|
86 |
-
gr.HTML("<p><center>Powered By HF Inference API</center></p>")
|
87 |
with gr.Row():
|
88 |
with gr.Column(scale=4):
|
89 |
with gr.Row():
|
|
|
11 |
|
12 |
translator = Translator()
|
13 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
14 |
+
basemodel = "black-forest-labs/FLUX.1-schnell"
|
15 |
MAX_SEED = np.iinfo(np.int32).max
|
16 |
|
17 |
CSS = """
|
|
|
83 |
|
84 |
with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
85 |
gr.HTML("<h1><center>Flux Lab Light</center></h1>")
|
|
|
86 |
with gr.Row():
|
87 |
with gr.Column(scale=4):
|
88 |
with gr.Row():
|