Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,10 +78,10 @@ if st.button("Generate Content"):
|
|
| 78 |
else:
|
| 79 |
# Configure the LLM to use Together AI's Llama 3.3
|
| 80 |
llm = ChatOpenAI(
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
|
| 86 |
# Define Agents
|
| 87 |
planner = Agent(
|
|
|
|
| 78 |
else:
|
| 79 |
# Configure the LLM to use Together AI's Llama 3.3
|
| 80 |
llm = ChatOpenAI(
|
| 81 |
+
openai_api_base="https://api.together.xyz/v1",
|
| 82 |
+
openai_api_key=os.getenv("TOGETHER_API_KEY"),
|
| 83 |
+
model_name="meta-llama/Llama-3.3-70B-Instruct-Turbo-Free"
|
| 84 |
+
)
|
| 85 |
|
| 86 |
# Define Agents
|
| 87 |
planner = Agent(
|