nightfury commited on
Commit
7160639
·
verified ·
1 Parent(s): e26cde4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,8 @@ import streamlit as st
5
  import os
6
 
7
  if os.getenv('SYSTEM') == 'spaces':
8
- subprocess.run(shlex.split('pip install langchain-community langchain-core'))
 
9
  # subprocess.run(
10
  # shlex.split(
11
  # 'pip install git+https://github.com/modelscope/modelscope.git@refs/pull/207/head'
 
5
  import os
6
 
7
  if os.getenv('SYSTEM') == 'spaces':
8
+ subprocess.run(shlex.split('pip install --upgrade langchain'))
9
+ #pip install langchain-community langchain-core'))
10
  # subprocess.run(
11
  # shlex.split(
12
  # 'pip install git+https://github.com/modelscope/modelscope.git@refs/pull/207/head'