Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,4 @@
|
|
| 1 |
import os
|
| 2 |
-
from google.colab import userdata
|
| 3 |
-
|
| 4 |
-
os.environ["GROQ_API_KEY"] = userdata.get('GROQ_API_KEY')
|
| 5 |
-
from groq import Groq
|
| 6 |
-
|
| 7 |
client = Groq(
|
| 8 |
# This is the default and can be omitted
|
| 9 |
api_key=os.environ.get("GROQ_API_KEY"),
|
|
|
|
| 1 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
client = Groq(
|
| 3 |
# This is the default and can be omitted
|
| 4 |
api_key=os.environ.get("GROQ_API_KEY"),
|