Closed santosh-gkg closed 7 months ago
I don't think it's ngrok or not. If that is a shared doc, you'll need to ensure that is added to extra_allowed_paths
so gradio knows it's ok to allow that to be downloaded.
Or you can ensure langchain_mode_paths
is filled so when used it'll fill the allowed_paths for gradio:
Without doing anything, sources and download works on gpt.h2o.ai, which uses ngrok for MyData that uses a "users" directory.
Note that from sources it'll download the thing, while in document view that's for viewing the thing.
If you still see issues, it might be good to give me an example, and I can reach out to gradio team if it's not h2ogpt issue.
thank you very much it's working i added the collections folder name in paths
Great. It should work if you just pass as an extra_allowed_paths on CLI instead of changing code.
Okay
they are working fine in localhost but not in a ngrok app