Spaces:
Sleeping
Sleeping
budhadityac24
commited on
Commit
•
d513b0d
1
Parent(s):
fd4da4e
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ load_dotenv()
|
|
8 |
|
9 |
from groq import Groq
|
10 |
|
11 |
-
client = Groq(
|
12 |
-
|
13 |
-
)
|
14 |
|
15 |
# st.title("Weather App with Chat Interface")
|
16 |
|
@@ -64,6 +64,9 @@ def get_current_weather(location):
|
|
64 |
|
65 |
|
66 |
def get_response(input_text):
|
|
|
|
|
|
|
67 |
tools = [
|
68 |
{
|
69 |
"type": "function",
|
|
|
8 |
|
9 |
from groq import Groq
|
10 |
|
11 |
+
# client = Groq(
|
12 |
+
# api_key=os.getenv("GROQ_API_KEY"),
|
13 |
+
# )
|
14 |
|
15 |
# st.title("Weather App with Chat Interface")
|
16 |
|
|
|
64 |
|
65 |
|
66 |
def get_response(input_text):
|
67 |
+
client = Groq(
|
68 |
+
api_key=os.getenv("GROQ_API_KEY"),
|
69 |
+
)
|
70 |
tools = [
|
71 |
{
|
72 |
"type": "function",
|