harvesthealth commited on
Commit
dd78bf5
·
verified ·
1 Parent(s): 5830379

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +9 -0
  2. start.sh +2 -0
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  ![Second Me](https://github.com/mindverse/Second-Me/blob/master/images/cover.png)
2
 
3
  <div align="center">
 
1
+ ---
2
+ title: SecondMe API
3
+ emoji: 🧠
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: docker
7
+ pinned: false
8
+ ---
9
+
10
  ![Second Me](https://github.com/mindverse/Second-Me/blob/master/images/cover.png)
11
 
12
  <div align="center">
start.sh CHANGED
@@ -38,6 +38,8 @@ fi
38
 
39
  echo "Starting Flask application..."
40
  export FLASK_APP=lpm_kernel.app
 
41
  # Use port 7860 for Hugging Face Spaces by default if LOCAL_APP_PORT is not set
42
  PORT=${LOCAL_APP_PORT:-7860}
 
43
  python -m flask run --host=0.0.0.0 --port=$PORT
 
38
 
39
  echo "Starting Flask application..."
40
  export FLASK_APP=lpm_kernel.app
41
+ export PYTHONPATH=$PYTHONPATH:.
42
  # Use port 7860 for Hugging Face Spaces by default if LOCAL_APP_PORT is not set
43
  PORT=${LOCAL_APP_PORT:-7860}
44
+ echo "Running on port $PORT"
45
  python -m flask run --host=0.0.0.0 --port=$PORT