Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -123,9 +123,7 @@ examples = [
|
|
123 |
"a beautiful woman with brown hair and grey eyes",
|
124 |
"a beautiful woman with black hair and brown eyes",
|
125 |
]
|
126 |
-
image_path = 'DigiP-AI/FLUX.Dev-LORA/abstract.jpg' # Replace with your image file path
|
127 |
|
128 |
-
absolute_path = os.path.abspath(image_path)
|
129 |
|
130 |
css = """
|
131 |
#app-container {
|
@@ -133,7 +131,7 @@ css = """
|
|
133 |
margin-left: auto;
|
134 |
margin-right: auto;
|
135 |
}
|
136 |
-
".gradio-container {background: url('
|
137 |
|
138 |
"""
|
139 |
with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
@@ -215,5 +213,5 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
215 |
""")
|
216 |
|
217 |
if __name__ == "__main__":
|
218 |
-
app.launch(show_api=False, share=False
|
219 |
|
|
|
123 |
"a beautiful woman with brown hair and grey eyes",
|
124 |
"a beautiful woman with black hair and brown eyes",
|
125 |
]
|
|
|
126 |
|
|
|
127 |
|
128 |
css = """
|
129 |
#app-container {
|
|
|
131 |
margin-left: auto;
|
132 |
margin-right: auto;
|
133 |
}
|
134 |
+
".gradio-container {background: url('https://unsplash.com/photos/a-black-and-white-photo-of-a-concrete-wall-OQR5J28a8JU')}
|
135 |
|
136 |
"""
|
137 |
with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
|
213 |
""")
|
214 |
|
215 |
if __name__ == "__main__":
|
216 |
+
app.launch(show_api=False, share=False)
|
217 |
|