昭鱼 commited on
Commit
5fd8a77
·
1 Parent(s): 5448374
Files changed (2) hide show
  1. init_venv.sh +16 -0
  2. requirements.txt +2 -2
init_venv.sh ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ echo "----------------------------------------"
4
+ echo " Init environments ... "
5
+ echo "----------------------------------------"
6
+
7
+ if [ ! -d '.venv' ]; then
8
+ mkdir .venv
9
+ fi
10
+
11
+ python3 -m venv .venv
12
+
13
+ source ./.venv/bin/activate
14
+
15
+ python3 -m pip install --requirement requirements.txt
16
+
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- conda-forge
2
- gradio
 
1
+ -i https://pypi.antfin-inc.com/simple
2
+ openai