Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
43fc159
1
Parent(s):
81c782d
fix
Browse files- constants.py +3 -1
- requirements.txt +2 -1
constants.py
CHANGED
@@ -7,7 +7,9 @@ MODEL = 'gemini-2.0-flash-exp'
|
|
7 |
# gemini-2.0-flash
|
8 |
# gemini-2.5-pro-exp-03-25
|
9 |
|
10 |
-
API_KEY =
|
|
|
|
|
11 |
|
12 |
PROMPT_LIMITADOR_LLM = """
|
13 |
You are a general AI assistant. I will ask you a question. Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
|
|
7 |
# gemini-2.0-flash
|
8 |
# gemini-2.5-pro-exp-03-25
|
9 |
|
10 |
+
API_KEY = os.getenv("GEMINI_API_KEY")
|
11 |
+
|
12 |
+
OPENAI_KEY = os.getenv("OPENAI_KEY")
|
13 |
|
14 |
PROMPT_LIMITADOR_LLM = """
|
15 |
You are a general AI assistant. I will ask you a question. Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
requirements.txt
CHANGED
@@ -15,4 +15,5 @@ pytube
|
|
15 |
ultralytics
|
16 |
whisper
|
17 |
yt-dlp
|
18 |
-
wikipedia-api
|
|
|
|
15 |
ultralytics
|
16 |
whisper
|
17 |
yt-dlp
|
18 |
+
wikipedia-api
|
19 |
+
google-generativeai
|