Shazaaly commited on
Commit
f69030e
·
1 Parent(s): d566a4b

remove run.sh

Browse files
Files changed (2) hide show
  1. README.md +2 -3
  2. run.sh +0 -12
README.md CHANGED
@@ -3,9 +3,8 @@ title: SYPLYD MARBERT API
3
  emoji: 🌍
4
  colorFrom: green
5
  colorTo: blue
6
- sdk: gradio
7
- sdk_version: 4.19.2
8
- app_file: run.sh
9
  ---
10
 
11
  # SYPLYD MARBERT API Endpoint
 
3
  emoji: 🌍
4
  colorFrom: green
5
  colorTo: blue
6
+ sdk: fastapi
7
+ app_file: app.py
 
8
  ---
9
 
10
  # SYPLYD MARBERT API Endpoint
run.sh DELETED
@@ -1,12 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Set the Hugging Face home directory to the persistent /data folder
4
- export HF_HOME=/data
5
-
6
- # Create the directory that the transformers library will try to use.
7
- # The -p flag ensures it doesn't fail if the directory already exists.
8
- mkdir -p $HF_HOME/hub
9
-
10
- # Now, start the FastAPI application
11
- # Using exec means this script will be replaced by the uvicorn process, which is efficient.
12
- exec uvicorn app:app --host 0.0.0.0 --port 7860