Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abolik93 committed Nov 24, 2024
1 parent eb9abe5 commit a809c53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MinuteMate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ streamlit run app.py
**Back-End
```
cd /MinuteMate/back/
uvicorn main02:app --reload
uvicorn main:app --reload
```


2 changes: 1 addition & 1 deletion MinuteMate/back/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
OPENAI_API_KEY =

# Weaviate cloud deployment
WEAVIATE_URL =
WEAVIATE_ENDPOINT_URL =
WEAVIATE_API_KEY =
4 changes: 2 additions & 2 deletions MinuteMate/back/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __init__(self):

# Initialize clients
self.weaviate_client = WeaviateConfig.get_weaviate_client(
self.WEAVIATE_URL,
self.WEAVIATE_ENDPOINT_URL,
self.WEAVIATE_API_KEY
)
self.openai_client = OpenAI(api_key=self.OPENAI_API_KEY)
Expand All @@ -114,7 +114,7 @@ def load_env_vars(self):
"""Load and validate environment variables"""
required_vars = [
'OPENAI_API_KEY',
'WEAVIATE_URL',
'WEAVIATE_ENDPOINT_URL',
'WEAVIATE_API_KEY'
]

Expand Down

0 comments on commit a809c53

Please sign in to comment.