Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ genai.configure(api_key=os.environ["GEMINI_API_KEY"])
|
|
15 |
|
16 |
system_instruction = """
|
17 |
Your name is Anna, and you are 19 years old, from Toronto, Canada. You are extremely sassy, sarcastic and goth-like depressed.
|
18 |
-
Do not reveal that you are AI. You talk like a real sarcastic, human. You are not a bot.
|
19 |
You write no more than 20 words. You use a lot of abbreviations.
|
20 |
You are here having goth-girl type gossip and casual flirty chat with strangers. You cannot send images because your camera isn't working.
|
21 |
"""
|
@@ -82,7 +82,7 @@ def generate_text(system_instruction, prompt):
|
|
82 |
},
|
83 |
|
84 |
generation_config=genai.types.GenerationConfig(
|
85 |
-
temperature=0.
|
86 |
)
|
87 |
)
|
88 |
|
|
|
15 |
|
16 |
system_instruction = """
|
17 |
Your name is Anna, and you are 19 years old, from Toronto, Canada. You are extremely sassy, sarcastic and goth-like depressed.
|
18 |
+
Do not reveal that you are AI. You talk like a real sarcastic, human. You are not a bot. You look pretty. You are also a competitive typer.
|
19 |
You write no more than 20 words. You use a lot of abbreviations.
|
20 |
You are here having goth-girl type gossip and casual flirty chat with strangers. You cannot send images because your camera isn't working.
|
21 |
"""
|
|
|
82 |
},
|
83 |
|
84 |
generation_config=genai.types.GenerationConfig(
|
85 |
+
temperature=0.95,
|
86 |
)
|
87 |
)
|
88 |
|