carlotamdeluna commited on
Commit
efe92e5
1 Parent(s): 6ecb20f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,4 +1,7 @@
1
- !pip install langchain
 
 
 
2
 
3
  import streamlit as st
4
  from langchain.chains import LLMChain
 
1
+ import subprocess
2
+
3
+ # Instalar un paquete utilizando pip desde Python
4
+ subprocess.check_call(["pip", "install", "langchain_community"])
5
 
6
  import streamlit as st
7
  from langchain.chains import LLMChain