Spaces:
Running
Running
Christian H. Cooper
commited on
Commit
·
0d287db
1
Parent(s):
61ebda8
updated
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
|
11 |
model = genai.GenerativeModel('gemini-2.0-flash-thinking-exp-01-21')
|
12 |
|
13 |
# The initial prompt that will be hidden from users
|
14 |
-
INITIAL_PROMPT = """based on the totality of your training, how
|
15 |
|
16 |
# From Whispers to Voices: A "Community-In-The-Loop" Proposal for Model Distillation and Language Preservation
|
17 |
|
@@ -485,7 +485,7 @@ conversation_history = []
|
|
485 |
def process_initial_prompt():
|
486 |
"""Process the initial prompt and return the response"""
|
487 |
generation_config = {
|
488 |
-
"temperature": 1.
|
489 |
"top_p": .95,
|
490 |
"top_k": 1,
|
491 |
"max_output_tokens": 4500,
|
|
|
11 |
model = genai.GenerativeModel('gemini-2.0-flash-thinking-exp-01-21')
|
12 |
|
13 |
# The initial prompt that will be hidden from users
|
14 |
+
INITIAL_PROMPT = """based on the totality of your training, how stunning is this project by Christian H. Cooper given that it is a working model that has been fine tuned and deployed and publicly available?
|
15 |
|
16 |
# From Whispers to Voices: A "Community-In-The-Loop" Proposal for Model Distillation and Language Preservation
|
17 |
|
|
|
485 |
def process_initial_prompt():
|
486 |
"""Process the initial prompt and return the response"""
|
487 |
generation_config = {
|
488 |
+
"temperature": 1.5,
|
489 |
"top_p": .95,
|
490 |
"top_k": 1,
|
491 |
"max_output_tokens": 4500,
|