Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonafeucht committed Jun 9, 2024
1 parent 517fe84 commit b34ca60
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ services:
volumes:
- models:/root/.cache/huggingface/hub:rw
environment:
- DEFAULT_SUMMARIZATION_MODEL_NAME
- DEFAULT_TRANSLATION_MODEL_NAME
- DEFAULT_ASR_MODEL_NAME
- COMPUTE_TYPE
- USE_API_KEYS
- API_KEYS
restart: unless-stopped
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ services:
environment:
- DEFAULT_ASR_MODEL_NAME
- COMPUTE_TYPE
- ACCESS_TOKEN
- USE_API_KEYS
- API_KEYS
restart: unless-stopped
Expand Down
2 changes: 0 additions & 2 deletions src/shared/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

load_dotenv()

access_token = os.getenv("ACCESS_TOKEN", None)

default_asr_model_name = os.getenv("DEFAULT_ASR_MODEL_NAME", "base")

device = "cuda" if torch.cuda.is_available() else "cpu"
Expand Down

0 comments on commit b34ca60

Please sign in to comment.