Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
|
|
|
| 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.",
|