Spaces:
Runtime error
Runtime error
Update
Browse files- app.py +3 -3
- requirements.txt +0 -2
app.py
CHANGED
@@ -156,10 +156,10 @@ parser.add_argument(
|
|
156 |
"--local_model", type=str, help="use a model stored on your PC", default=""
|
157 |
)
|
158 |
|
159 |
-
if __name__ == "__main__":
|
160 |
args = parser.parse_args()
|
161 |
else:
|
162 |
-
args = parser.parse_args(
|
163 |
# args = parser.parse_args(["--debug"])
|
164 |
if args.auth is not None:
|
165 |
args.auth = tuple(args.auth)
|
@@ -788,7 +788,7 @@ with blocks as demo:
|
|
788 |
# title
|
789 |
title = gr.Markdown(
|
790 |
"""
|
791 |
-
**stablediffusion-infinity**: Outpainting with Stable Diffusion on an infinite canvas: [https://github.com/lkwq007/stablediffusion-infinity](https://github.com/lkwq007/stablediffusion-infinity) [
|
792 |
""",
|
793 |
elem_id="markdown",
|
794 |
)
|
|
|
156 |
"--local_model", type=str, help="use a model stored on your PC", default=""
|
157 |
)
|
158 |
|
159 |
+
if __name__ == "__main__" and not RUN_IN_SPACE:
|
160 |
args = parser.parse_args()
|
161 |
else:
|
162 |
+
args = parser.parse_args()
|
163 |
# args = parser.parse_args(["--debug"])
|
164 |
if args.auth is not None:
|
165 |
args.auth = tuple(args.auth)
|
|
|
788 |
# title
|
789 |
title = gr.Markdown(
|
790 |
"""
|
791 |
+
**stablediffusion-infinity**: Outpainting with Stable Diffusion on an infinite canvas: [https://github.com/lkwq007/stablediffusion-infinity](https://github.com/lkwq007/stablediffusion-infinity) [Open_In_Colab](https://colab.research.google.com/github/lkwq007/stablediffusion-infinity/blob/master/stablediffusion_infinity_colab.ipynb) [Setup_Locally](https://github.com/lkwq007/stablediffusion-infinity/blob/master/docs/setup_guide.md)
|
792 |
""",
|
793 |
elem_id="markdown",
|
794 |
)
|
requirements.txt
CHANGED
@@ -11,6 +11,4 @@ scikit-image
|
|
11 |
diffusers==0.6.0
|
12 |
transformers
|
13 |
ftfy
|
14 |
-
fpie
|
15 |
-
gradio>=3.6
|
16 |
fpie
|
|
|
11 |
diffusers==0.6.0
|
12 |
transformers
|
13 |
ftfy
|
|
|
|
|
14 |
fpie
|