Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Runtime error
#1012
by
rafaaa2105
- opened
The space is running on an error.
Runtime error
Space failed. Exit code: 1. Reason: ples, fn=infer, inputs=[text, negative, guidance_scale], outputs=[gallery, community_group], cache_examples=True, postprocess=False)
File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 75, in create_examples
client_utils.synchronize_async(examples_obj.create)
File "/home/user/.local/lib/python3.10/site-packages/gradio_client/utils.py", line 540, in synchronize_async
return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore
File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 106, in sync
raise return_result
File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 61, in _runner
result[0] = await coro
File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 277, in create
await self.cache()
File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 338, in cache
prediction = await Context.root_block.process_api(
File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1555, in process_api
result = await self.call_function(
File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1193, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/user/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 654, in wrapper
response = f(*args, **kwargs)
File "/home/user/app/app.py", line 101, in infer
raise gr.Error("SDXL did not return a valid result, try again")
gradio.exceptions.Error: 'SDXL did not return a valid result, try again'
Container logs:
===== Application Startup at 2023-11-21 10:52:15 =====
/home/user/.local/lib/python3.10/site-packages/datasets/load.py:2089: FutureWarning: 'use_auth_token' was deprecated in favor of 'token' in version 2.14.0 and will be removed in 3.0.0.
You can remove this warning by passing 'token=True' instead.
warnings.warn(
Downloading data files: 0%| | 0/1 [00:00<?, ?it/s]
Downloading data: 0%| | 0.00/1.25k [00:00<?, ?B/s]
Downloading data: 100%|โโโโโโโโโโ| 1.25k/1.25k [00:00<00:00, 31.5kB/s]
Downloading data files: 100%|โโโโโโโโโโ| 1/1 [00:00<00:00, 24.37it/s]
Extracting data files: 0%| | 0/1 [00:00<?, ?it/s]
Extracting data files: 100%|โโโโโโโโโโ| 1/1 [00:00<00:00, 1984.06it/s]
Generating train split: 0 examples [00:00, ? examples/s]
Generating train split: 150 examples [00:00, 58459.91 examples/s]
/home/user/app/app.py:334: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
/home/user/app/app.py:344: GradioUnusedKwargWarning: You have unused kwarg parameters in Gallery, please remove them: {'grid': [2]}
gallery = gr.Gallery(
/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py:223: UserWarning: Examples are being cached but not all input components have example values. This may result in an exception being thrown by your function. If you do get an error while caching examples, make sure all of your inputs have example values for all of your examples or you provide default values for those particular parameters in your function.
warnings.warn(
Caching examples at: '/home/user/app/gradio_cached_examples/16'
Caching example 1/5
It's fixed now, apologies for the trouble!
pcuenq
changed discussion status to
closed