NihalGazi commited on
Commit
25f5483
·
verified ·
1 Parent(s): 6decf9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  # Configure the Gemini API
6
  genai.configure(api_key=os.environ["GEMINI_API_KEY"])
7
 
8
- chat_session = model.start_chat(history=[])
9
 
10
 
11
  system_instruction = """
@@ -21,7 +21,7 @@ model = genai.GenerativeModel(
21
  system_instruction=system_instruction
22
  )
23
 
24
-
25
 
26
 
27
  # Define the model with a placeholder for system instruction
 
5
  # Configure the Gemini API
6
  genai.configure(api_key=os.environ["GEMINI_API_KEY"])
7
 
8
+
9
 
10
 
11
  system_instruction = """
 
21
  system_instruction=system_instruction
22
  )
23
 
24
+ chat_session = model.start_chat(history=[])
25
 
26
 
27
  # Define the model with a placeholder for system instruction