appsnprojectsstpl-tech commited on
Commit ·
8323f4b
1
Parent(s): 29901d5
Fix Gradio 6 warning and requirements
Browse files- app.py +2 -2
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -56,7 +56,7 @@ custom_theme = gr.themes.Soft(
|
|
| 56 |
font=gr.themes.GoogleFont("Inter"),
|
| 57 |
)
|
| 58 |
|
| 59 |
-
with gr.Blocks(
|
| 60 |
gr.Markdown(
|
| 61 |
"""
|
| 62 |
# ⚡ FLUX.1 Image Studio (Grok Quality)
|
|
@@ -123,4 +123,4 @@ with gr.Blocks(theme=custom_theme, fill_height=True) as demo:
|
|
| 123 |
)
|
| 124 |
|
| 125 |
if __name__ == "__main__":
|
| 126 |
-
demo.launch()
|
|
|
|
| 56 |
font=gr.themes.GoogleFont("Inter"),
|
| 57 |
)
|
| 58 |
|
| 59 |
+
with gr.Blocks() as demo:
|
| 60 |
gr.Markdown(
|
| 61 |
"""
|
| 62 |
# ⚡ FLUX.1 Image Studio (Grok Quality)
|
|
|
|
| 123 |
)
|
| 124 |
|
| 125 |
if __name__ == "__main__":
|
| 126 |
+
demo.launch(theme=custom_theme, fill_height=True)
|
requirements.txt
CHANGED
|
@@ -4,4 +4,5 @@ transformers
|
|
| 4 |
kernels
|
| 5 |
gradio[mcp]
|
| 6 |
sentencepiece
|
| 7 |
-
protobuf
|
|
|
|
|
|
| 4 |
kernels
|
| 5 |
gradio[mcp]
|
| 6 |
sentencepiece
|
| 7 |
+
protobuf
|
| 8 |
+
spaces
|