Spaces:
Sleeping
Sleeping
Commit ·
e40c8bd
1
Parent(s): 8cf57d7
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import os
|
|
| 8 |
|
| 9 |
#pipe = pipeline('sentiment-analysis')
|
| 10 |
|
| 11 |
-
api_key = os.environ
|
| 12 |
llm = GooglePalm(google_api_key=api_key, temperature=0.1)
|
| 13 |
|
| 14 |
text = st.text_area('enter text to get assistance!')
|
|
|
|
| 8 |
|
| 9 |
#pipe = pipeline('sentiment-analysis')
|
| 10 |
|
| 11 |
+
api_key = os.environ["GOOGLE_PALM_API_KEY"]
|
| 12 |
llm = GooglePalm(google_api_key=api_key, temperature=0.1)
|
| 13 |
|
| 14 |
text = st.text_area('enter text to get assistance!')
|