Spaces:
Runtime error
Runtime error
Update app1.py
Browse files
app1.py
CHANGED
@@ -277,11 +277,6 @@ def run_demo_server(pipe):
|
|
277 |
)
|
278 |
|
279 |
|
280 |
-
def prefetch_hf_cache(pipe):
|
281 |
-
process(pipe, "files/bee.jpg", 1, 1, 64)
|
282 |
-
shutil.rmtree("files/bee_output")
|
283 |
-
|
284 |
-
|
285 |
def main():
|
286 |
|
287 |
REPO_URL = "https://github.com/lemonaddie/geowizard.git"
|
@@ -312,7 +307,6 @@ def main():
|
|
312 |
pass # run without xformers
|
313 |
|
314 |
pipe = pipe.to('cuda')
|
315 |
-
prefetch_hf_cache(pipe)
|
316 |
run_demo_server(pipe)
|
317 |
|
318 |
|
|
|
277 |
)
|
278 |
|
279 |
|
|
|
|
|
|
|
|
|
|
|
280 |
def main():
|
281 |
|
282 |
REPO_URL = "https://github.com/lemonaddie/geowizard.git"
|
|
|
307 |
pass # run without xformers
|
308 |
|
309 |
pipe = pipe.to('cuda')
|
|
|
310 |
run_demo_server(pipe)
|
311 |
|
312 |
|