Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from my_logic import answer_question
|
|
| 4 |
import os
|
| 5 |
|
| 6 |
genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
|
| 7 |
-
gemini_model = genai.GenerativeModel("models/gemini-
|
| 8 |
|
| 9 |
def chatbot_interface(user_question):
|
| 10 |
return answer_question(user_question, gemini_model)
|
|
|
|
| 4 |
import os
|
| 5 |
|
| 6 |
genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
|
| 7 |
+
gemini_model = genai.GenerativeModel("models/gemini-1.5-flash")
|
| 8 |
|
| 9 |
def chatbot_interface(user_question):
|
| 10 |
return answer_question(user_question, gemini_model)
|