-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snowflake/llamaguard gives ReplicateError: ReplicateError Details: status: 404 detail: Not found. #30
Comments
Hey @olsonperrensen, I haven't been able to reproduce this error – are you running the app as-is locally? |
Yes. Solved it using commit 57563341e549e7fef13df75679015adf6bd562d2 on HuggingFace. |
I have the same issue using replicate, same 404 error. Seems it cannot find the snowflake/llamaguard deployment. I am able to run the simple version of the app with no issues using my REPLICATE_API_TOKEN. |
"I have the same issue using replicate, same 404 error. Seems it cannot find the snowflake/llamaguard deployment. I am able to run the simple version of the app with no issues using my REPLICATE_API_TOKEN." Same here how to fix this? |
I have the same problem. |
File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in _run_script exec(code, module.__dict__) File "C:\Users\X\source\polars-streamlit\pages\openapi.py", line 158, in <module> main() File "C:\Users\X\source\polars-streamlit\pages\openapi.py", line 13, in main init_chat_history() File "C:\Users\X\source\polars-streamlit\pages\openapi.py", line 48, in init_chat_history check_safety() File "C:\Users\X\source\polars-streamlit\pages\openapi.py", line 75, in check_safety deployment = get_llamaguard_deployment() File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 165, in wrapper return cached_func(*args, **kwargs) File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 196, in __call__ return self._get_or_create_cached_value(args, kwargs) File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 221, in _get_or_create_cached_value return self._handle_cache_miss(cache, value_key, func_args, func_kwargs) File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 277, in _handle_cache_miss computed_value = self._info.func(*func_args, **func_kwargs) File "C:\Users\X\source\polars-streamlit\pages\openapi.py", line 68, in get_llamaguard_deployment return replicate.deployments.get("snowflake/llamaguard") File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\replicate\deployment.py", line 195, in get resp = self._client._request( File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\replicate\client.py", line 87, in _request _raise_for_status(resp) File "c:\Users\X\source\polars-streamlit\.conda\lib\site-packages\replicate\client.py", line 367, in _raise_for_status raise ReplicateError.from_response(resp)
The text was updated successfully, but these errors were encountered: