Spaces:
Sleeping
Sleeping
Update utils/helper.py
Browse files- 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 |
-
|
|
|
|
| 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:
|