Spaces:
Running
on
CPU Upgrade
What is the tryon_url? How to get it?
To create a public link, set share=True
in launch()
.
Traceback (most recent call last):
File "E:\workspace\envs\Kolors\lib\site-packages\gradio\queueing.py", line 541, in process_events
response = await route_utils.call_process_api(
File "E:\workspace\envs\Kolors\lib\site-packages\gradio\route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
File "E:\workspace\envs\Kolors\lib\site-packages\gradio\blocks.py", line 1928, in process_api
result = await self.call_function(
File "E:\workspace\envs\Kolors\lib\site-packages\gradio\blocks.py", line 1514, in call_function
prediction = await anyio.to_thread.run_sync(
File "E:\workspace\envs\Kolors\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "E:\workspace\envs\Kolors\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "E:\workspace\envs\Kolors\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "E:\workspace\envs\Kolors\lib\site-packages\gradio\utils.py", line 833, in wrapper
response = f(*args, **kwargs)
File "E:\workspace\Kolors-Virtual-Try-On\app.py", line 25, in tryon
url = "http://" + os.environ['tryon_url'] + "Submit"
File "E:\workspace\envs\Kolors\lib\os.py", line 680, in getitem
raise KeyError(key) from None
KeyError: 'tryon_url
They are making calls to an api. You wont be able to run it locally.
yes, I feel they are using flux inpainting with controlnet
same