Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import openai
|
|
8 |
df = pd.read_csv('https://huggingface.co/spaces/MLDeveloper/AI_based_Solar_Project_Estimation_Tool/resolve/main/solar_data_india_2024.csv')
|
9 |
|
10 |
# Set up the Gemini API (replace with your actual API key)
|
11 |
-
openai.api_key = '
|
12 |
|
13 |
# Function to get solar radiation and tariff based on user input location
|
14 |
def get_state_data(state_name):
|
|
|
8 |
df = pd.read_csv('https://huggingface.co/spaces/MLDeveloper/AI_based_Solar_Project_Estimation_Tool/resolve/main/solar_data_india_2024.csv')
|
9 |
|
10 |
# Set up the Gemini API (replace with your actual API key)
|
11 |
+
openai.api_key = 'your_openai.api_key_here'
|
12 |
|
13 |
# Function to get solar radiation and tariff based on user input location
|
14 |
def get_state_data(state_name):
|