Closed victorhugor45 closed 1 year ago
@victorhugor45 con que versión de python la estás ejecutando?
Python 3.10.2
Recién actualice la ultima versión Python 3.11.2, y el problema persiste.
Yo estoy trabajando en la versión 3.9 Podrías probar con esa
Hola Daniel Davila
Me pareció muy interesante file-gpr y quise probarla. La clone, la instale de acuerdo al readme y después de un par de errores con el streamlit y la cache deprecada, la aplicación me levanta.
UnhashableParamError: Cannot hash argument 'docs' (of type builtins.list) in 'embed_docs'.
To address this, you can tell Streamlit not to hash this argument by adding a leading underscore to the argument's name in the function signature:
@st.cache_data def embed_docs(_docs, ...): ... Traceback: File "C:\Users\vrodriguez\file-gpt\app.py", line 62, in
index = embed_docs(text)