Spaces:
Sleeping
Sleeping
selvaneyas commited on
Commit ·
956ab19
1
Parent(s): d2e27c8
update
Browse files- app.py +1 -1
- learn_BoxC.txt +1 -0
- learn_Box_secrets.txt +0 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -31,7 +31,7 @@ if GOOGLE_API_KEY is None:
|
|
| 31 |
|
| 32 |
|
| 33 |
# Load the Gemini Nano model
|
| 34 |
-
model = genai.GenerativeModel("gemini-1.5-flash") # Use "gemini-pro" or "gemini-nano" if available ""gemini-pro-vision""
|
| 35 |
|
| 36 |
@app.route("/")
|
| 37 |
def home():
|
|
|
|
| 31 |
|
| 32 |
|
| 33 |
# Load the Gemini Nano model
|
| 34 |
+
model = genai.GenerativeModel("models/gemini-1.5-flash") # Use "gemini-pro" or "gemini-nano" if available ""gemini-pro-vision""
|
| 35 |
|
| 36 |
@app.route("/")
|
| 37 |
def home():
|
learn_BoxC.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# EDUMENTOR BOX"AIzaSyCuAIelmhXYbJWJMy-shk0x1el7t4hp0xQ" #"AIzaSyDBiTxdCAY6uWSmEDMDsI0o_8wndXZeFt8" #"AIzaSyBA4icnk8d_2Gt_dC_ZsCvCDzLVhSaf_-Y" # k
|
learn_Box_secrets.txt
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
# "AIzaSyCuAIelmhXYbJWJMy-shk0x1el7t4hp0xQ" #"AIzaSyDBiTxdCAY6uWSmEDMDsI0o_8wndXZeFt8" #problem:"AIzaSyBA4icnk8d_2Gt_dC_ZsCvCDzLVhSaf_-Y" # API key
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -9,5 +9,5 @@ langchain_community
|
|
| 9 |
langchain_core
|
| 10 |
ollama
|
| 11 |
gunicorn
|
| 12 |
-
google-generativeai
|
| 13 |
markdown
|
|
|
|
| 9 |
langchain_core
|
| 10 |
ollama
|
| 11 |
gunicorn
|
| 12 |
+
google-generativeai==0.5.2
|
| 13 |
markdown
|