Spaces:
Runtime error
Runtime error
Roman Jurowetzki
commited on
Commit
•
8aea8a6
1
Parent(s):
709e549
packages/pirate-speak/pirate_speak/.env
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
TOGETHER_API_KEY=7091f9fb4f9db7e39170ca113c4bc9ad2405b1c8fec3772098a9f06c8c82e103
|
packages/pirate-speak/pirate_speak/chain.py
CHANGED
@@ -3,8 +3,8 @@ from langchain_together import Together
|
|
3 |
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
4 |
|
5 |
import os
|
6 |
-
from dotenv import load_dotenv
|
7 |
-
load_dotenv()
|
8 |
together_api_key = os.getenv("TOGETHER_API_KEY")
|
9 |
|
10 |
_prompt = ChatPromptTemplate.from_messages(
|
|
|
3 |
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
4 |
|
5 |
import os
|
6 |
+
#from dotenv import load_dotenv
|
7 |
+
#load_dotenv()
|
8 |
together_api_key = os.getenv("TOGETHER_API_KEY")
|
9 |
|
10 |
_prompt = ChatPromptTemplate.from_messages(
|