Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
import streamlit as st
|
2 |
from groq import Groq
|
3 |
from typing import List, Optional
|
4 |
-
|
5 |
import json, os
|
6 |
from pydantic import BaseModel
|
7 |
from dspy_inference import get_expanded_query_and_topic
|
8 |
|
9 |
-
|
10 |
|
11 |
client = Groq(api_key=os.getenv("GROQ_API_KEY"))
|
12 |
USER_AVATAR = "👤"
|
|
|
1 |
import streamlit as st
|
2 |
from groq import Groq
|
3 |
from typing import List, Optional
|
4 |
+
from dotenv import load_dotenv
|
5 |
import json, os
|
6 |
from pydantic import BaseModel
|
7 |
from dspy_inference import get_expanded_query_and_topic
|
8 |
|
9 |
+
load_dotenv()
|
10 |
|
11 |
client = Groq(api_key=os.getenv("GROQ_API_KEY"))
|
12 |
USER_AVATAR = "👤"
|