Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- hf_space/app.py +4 -4
hf_space/app.py
CHANGED
|
@@ -70,9 +70,9 @@ If you identify cases where the model fails, <a href='https://huggingface.co/sch
|
|
| 70 |
"""
|
| 71 |
|
| 72 |
examples = [
|
| 73 |
-
"
|
| 74 |
-
"
|
| 75 |
-
"
|
| 76 |
]
|
| 77 |
|
| 78 |
demo = gr.Interface(
|
|
@@ -85,4 +85,4 @@ demo = gr.Interface(
|
|
| 85 |
)
|
| 86 |
|
| 87 |
if __name__ == "__main__":
|
| 88 |
-
demo.launch(share=False, root_path="
|
|
|
|
| 70 |
"""
|
| 71 |
|
| 72 |
examples = [
|
| 73 |
+
"example1.jpeg",
|
| 74 |
+
"example2.jpeg",
|
| 75 |
+
"example3.jpeg",
|
| 76 |
]
|
| 77 |
|
| 78 |
demo = gr.Interface(
|
|
|
|
| 85 |
)
|
| 86 |
|
| 87 |
if __name__ == "__main__":
|
| 88 |
+
demo.launch(share=False, root_path="./", allowed_paths=["hf_space", "models"])
|