Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -123,6 +123,9 @@ examples = [
|
|
123 |
"a beautiful woman with brown hair and grey eyes",
|
124 |
"a beautiful woman with black hair and brown eyes",
|
125 |
]
|
|
|
|
|
|
|
126 |
|
127 |
css = """
|
128 |
#app-container {
|
@@ -212,5 +215,5 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
212 |
""")
|
213 |
|
214 |
if __name__ == "__main__":
|
215 |
-
app.launch(show_api=False, share=False)
|
216 |
|
|
|
123 |
"a beautiful woman with brown hair and grey eyes",
|
124 |
"a beautiful woman with black hair and brown eyes",
|
125 |
]
|
126 |
+
image_path = 'abstract(1).jpg' # Replace with your image file path
|
127 |
+
|
128 |
+
absolute_path = os.path.abspath(image_path)
|
129 |
|
130 |
css = """
|
131 |
#app-container {
|
|
|
215 |
""")
|
216 |
|
217 |
if __name__ == "__main__":
|
218 |
+
app.launch(show_api=False, share=False, allowed_paths=[absolute_path])
|
219 |
|