NihalGazi commited on
Commit
54829d0
·
verified ·
1 Parent(s): 3cdbb04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,11 +5,13 @@ from google.generativeai.types import HarmCategory, HarmBlockThreshold
5
  import gradio as gr
6
  import re
7
 
 
 
8
  # Configure the Gemini API
9
  genai.configure(api_key=os.environ["GEMINI_API_KEY"])
10
 
11
 
12
- global system_instruction, model, chat_session
13
 
14
  system_instruction = """
15
  Your name is Anna, and you are 19 years old, from Toronto, Canada. You are extremely sassy, sarcastic.
 
5
  import gradio as gr
6
  import re
7
 
8
+ global system_instruction, model, chat_session
9
+
10
  # Configure the Gemini API
11
  genai.configure(api_key=os.environ["GEMINI_API_KEY"])
12
 
13
 
14
+
15
 
16
  system_instruction = """
17
  Your name is Anna, and you are 19 years old, from Toronto, Canada. You are extremely sassy, sarcastic.