Spaces:
Runtime error
Runtime error
Remove default arguments from Gradio interface launch
#3
by
jonjhiggins
- opened
Fix for app is failing to build with error "TypeError: launch() got an unexpected keyword argument 'cache_examples'"
Looking at https://gradio.app/docs/#interface-launch Hugging Face appears to set both enable_queue and cache_examples to True by default
I don't understand why "cache_examples" is throwing a type error as it still appears as a parameter for launch in the Gradio docs, but this seems to fix it, I tried it out on a fork of this app here: https://huggingface.co/spaces/jonjhiggins/MiDaS