Spaces:
Sleeping
Sleeping
requests error resolved
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from dotenv import load_dotenv
|
|
| 2 |
load_dotenv()
|
| 3 |
|
| 4 |
import os
|
| 5 |
-
|
| 6 |
if not os.environ.get("GOOGLE_API_KEY"):
|
| 7 |
raise RuntimeError("Please set the GOOGLE_API_KEY environment variable with your Google API key.")
|
| 8 |
|
|
|
|
| 2 |
load_dotenv()
|
| 3 |
|
| 4 |
import os
|
| 5 |
+
import requests
|
| 6 |
if not os.environ.get("GOOGLE_API_KEY"):
|
| 7 |
raise RuntimeError("Please set the GOOGLE_API_KEY environment variable with your Google API key.")
|
| 8 |
|