carlotamdeluna commited on
Commit
762f0ec
1 Parent(s): bcb0eb7

Update app.py

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