gadkins commited on
Commit
31f72dd
·
1 Parent(s): 85ae972

adding envs explicitly

Browse files
Files changed (1) hide show
  1. utils.py +6 -4
utils.py CHANGED
@@ -1,12 +1,14 @@
1
  from openai import OpenAI
2
  import os
3
  import time
4
- from dotenv import dotenv_values
5
 
6
  # Load model and API endpoint from environment variables
7
- config = dotenv_values(".env")
8
- model = config.get("MODEL")
9
- api_endpoint = config.get("API_ENDPOINT")
 
 
10
 
11
  openai_api_base = api_endpoint + '/v1'
12
 
 
1
  from openai import OpenAI
2
  import os
3
  import time
4
+ # from dotenv import dotenv_values
5
 
6
  # Load model and API endpoint from environment variables
7
+ # config = dotenv_values(".env")
8
+ # model = config.get("MODEL")
9
+ # api_endpoint = config.get("API_ENDPOINT")
10
+ model = "casperhansen/mixtral-instruct-awq"
11
+ api_endpoint = "https://irlgzb4izhczxt-8000.proxy.runpod.net"
12
 
13
  openai_api_base = api_endpoint + '/v1'
14