Spaces:
Runtime error
Runtime error
Update utils/helper.py
Browse files5 unmodified lines6789101112135 unmodified linesfrom together import Togetherapi = "tgp_v1_QxHjcs582Y4kSGPd5a2VyrKDD6S81ctp-M-rT_ioDNE"client = Together(api_key=os.environ["api"])5 unmodified lines678910111213141516175 unmodified linesfrom together import Togetherimport os# Set the environment variable (just for testing purposes)os.environ["api"] = "tgp_v1_QxHjcs582Y4kSGPd5a2VyrKDD6S81ctp-M-rT_ioDNE"# Now, the code can access the api key from the environment variableclient = Together(api_key=os.environ["api"])
utils/helper.py+5-1