Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,6 @@ import re
|
|
| 14 |
import base64
|
| 15 |
|
| 16 |
# Set Gemini API Key
|
| 17 |
-
#os.environ["GEMINI_API_KEY"] = "AIzaSyAQLUStrjXv2_zrAjssapa_sYXQWOqVeiE" # Ensure this is set securely in your environment
|
| 18 |
client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))
|
| 19 |
|
| 20 |
# Function to extract text from different file formats
|
|
|
|
| 14 |
import base64
|
| 15 |
|
| 16 |
# Set Gemini API Key
|
|
|
|
| 17 |
client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))
|
| 18 |
|
| 19 |
# Function to extract text from different file formats
|