Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,6 @@ css = '''
|
|
| 35 |
'''
|
| 36 |
|
| 37 |
# Collect example images
|
| 38 |
-
example = {}
|
| 39 |
image_dir = 'input'
|
| 40 |
image_list = [os.path.join(image_dir, file) for file in os.listdir(image_dir)]
|
| 41 |
image_list.sort()
|
|
@@ -74,4 +73,5 @@ with gr.Blocks(css=css) as demo:
|
|
| 74 |
"""
|
| 75 |
)
|
| 76 |
|
| 77 |
-
|
|
|
|
|
|
| 35 |
'''
|
| 36 |
|
| 37 |
# Collect example images
|
|
|
|
| 38 |
image_dir = 'input'
|
| 39 |
image_list = [os.path.join(image_dir, file) for file in os.listdir(image_dir)]
|
| 40 |
image_list.sort()
|
|
|
|
| 73 |
"""
|
| 74 |
)
|
| 75 |
|
| 76 |
+
# Ensure the app works in Hugging Face by sharing a public link
|
| 77 |
+
demo.launch(share=True)
|