NihalGazi commited on
Commit
ac7ce3b
·
verified ·
1 Parent(s): ae6f53a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
2
- import genai # Assuming you are using a `genai` library for Gemini
 
 
3
 
4
  # Set up the Gemini generative model using your API key
5
  model = genai.GenerativeModel("gemini-1.5-flash", api_key="AIzaSyCjAahw7YvVFWSYHWRaGwZ9cA9emobfNok")
 
1
  import gradio as gr
2
+ import google.generativeai as genai
3
+ from google.generativeai.types import HarmCategory, HarmBlockThreshold
4
+ import sympy as sp
5
 
6
  # Set up the Gemini generative model using your API key
7
  model = genai.GenerativeModel("gemini-1.5-flash", api_key="AIzaSyCjAahw7YvVFWSYHWRaGwZ9cA9emobfNok")