Umesh-960 commited on
Commit
a62ed30
·
verified ·
1 Parent(s): 5d4ac76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,9 +2,9 @@ import os
2
  from google import genai
3
  from google.genai import types
4
  import gradio as gr
5
- from google.colab import userdata
6
 
7
- client=genai.Client(api_key=userdata.get("GEMINI_API_KEY"))
 
8
 
9
  Question_type={
10
  "MCQs":"Generate question of MCQs type based upon the content given.",
 
2
  from google import genai
3
  from google.genai import types
4
  import gradio as gr
 
5
 
6
+
7
+ client=genai.Client(api_key=os.getenv("GEMINI_API_KEY"))
8
 
9
  Question_type={
10
  "MCQs":"Generate question of MCQs type based upon the content given.",