Spaces:
Sleeping
Sleeping
zaephaer23
commited on
Commit
•
11c7366
1
Parent(s):
e65e9dd
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def get_openai_response(query_prompt):
|
|
13 |
llm = OpenAI(openai_api_key = os.getenv("OPENAI_API_KEY"), temperature=0.9)
|
14 |
#llmGemini = GoogleGenerativeAI(gemini_api_key=os.environ["GOOGLE_API_KEY"],model="gemini-pro", temperature=0.7)
|
15 |
response = llm(query_prompt)
|
16 |
-
response = llmGemini(query_prompt)
|
17 |
return response
|
18 |
|
19 |
# Init Streamlit
|
|
|
13 |
llm = OpenAI(openai_api_key = os.getenv("OPENAI_API_KEY"), temperature=0.9)
|
14 |
#llmGemini = GoogleGenerativeAI(gemini_api_key=os.environ["GOOGLE_API_KEY"],model="gemini-pro", temperature=0.7)
|
15 |
response = llm(query_prompt)
|
16 |
+
#response = llmGemini(query_prompt)
|
17 |
return response
|
18 |
|
19 |
# Init Streamlit
|