Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,10 +5,12 @@ import os
|
|
| 5 |
import json
|
| 6 |
import logging
|
| 7 |
import pandas as pd # Useful for creating the dataframe output
|
|
|
|
| 8 |
|
| 9 |
# ------------------------
|
| 10 |
# Configuration
|
| 11 |
# ------------------------
|
|
|
|
| 12 |
WORDLIFT_API_URL = "https://api.wordlift.io/content-evaluations"
|
| 13 |
WORDLIFT_API_KEY = os.getenv("WORDLIFT_API_KEY") # Get API key from environment variable
|
| 14 |
|
|
|
|
| 5 |
import json
|
| 6 |
import logging
|
| 7 |
import pandas as pd # Useful for creating the dataframe output
|
| 8 |
+
from typing import Optional, List, Dict, Any # Add this line
|
| 9 |
|
| 10 |
# ------------------------
|
| 11 |
# Configuration
|
| 12 |
# ------------------------
|
| 13 |
+
|
| 14 |
WORDLIFT_API_URL = "https://api.wordlift.io/content-evaluations"
|
| 15 |
WORDLIFT_API_KEY = os.getenv("WORDLIFT_API_KEY") # Get API key from environment variable
|
| 16 |
|