Error when duplicating space

#3
by MoritzLaurer HF staff - opened

The space is a great example for parsing PDFs into machine readable format. I've tried duplicating it (on different types of hardware) and the duplication process always get stuck with this repeated warning in the container logs.

===== Application Startup at 2024-01-09 09:52:12 =====

/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/2
/tmp/gradio/fb823cd60f73354f6c53e037f2a9a6ae41f016a7/nougat.pdf
nougat
===== Application Startup at 2024-01-09 09:52:12 =====

/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/2
/tmp/gradio/fb823cd60f73354f6c53e037f2a9a6ae41f016a7/nougat.pdf
nougat

Sign up or log in to comment