Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,9 +2,9 @@ import google.generativeai as genai
|
|
| 2 |
import pdfplumber
|
| 3 |
import gradio as gr
|
| 4 |
import os
|
| 5 |
-
from dotenv import
|
|
|
|
| 6 |
|
| 7 |
-
python_dotenv()
|
| 8 |
|
| 9 |
# Replace with your API key
|
| 10 |
GOOGLE_API_KEY = os.getenv("GEMINI_API_KEY")
|
|
|
|
| 2 |
import pdfplumber
|
| 3 |
import gradio as gr
|
| 4 |
import os
|
| 5 |
+
from dotenv import load_dotenv
|
| 6 |
+
load_dotenv()
|
| 7 |
|
|
|
|
| 8 |
|
| 9 |
# Replace with your API key
|
| 10 |
GOOGLE_API_KEY = os.getenv("GEMINI_API_KEY")
|