Inara132000 commited on
Commit
7592416
·
verified ·
1 Parent(s): a1d8194

Update utils/helper.py

Browse files
Files changed (1) hide show
  1. utils/helper.py +3 -2
utils/helper.py CHANGED
@@ -3,8 +3,9 @@ import os
3
  import pandas as pd
4
  from together import Together
5
 
6
-
7
- client = Together(api_key=os.environ["6bfaddf602548e0203eb5309a6649a0e2cc32b2a0705a4d962fe9bd0d06c4b0b"])
 
8
 
9
 
10
  def call_llama(prompt: str) -> str:
 
3
  import pandas as pd
4
  from together import Together
5
 
6
+ os.environ["api"] = "6bfaddf602548e0203eb5309a6649a0e2cc32b2a0705a4d962fe9bd0d06c4b0b"
7
+ # Now, the code can access the api key from the environment variable
8
+ client = Together(api_key=os.environ["api"])
9
 
10
 
11
  def call_llama(prompt: str) -> str: