Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,6 @@ import openai
|
|
3 |
import gradio as gr
|
4 |
import re
|
5 |
|
6 |
-
OPENWEATHER_API_KEY = "b997eb592e775cf75a8a7504c93f1e5d"
|
7 |
-
OPENAI_API_KEY = "sk-proj-y4J48FDxQppGfxbTlf7iT3BlbkFJYwhSmv6QDXRKyeV386eh"
|
8 |
|
9 |
def get_weather(city):
|
10 |
url = f"http://api.openweathermap.org/data/2.5/weather?q={city}&appid={OPENWEATHER_API_KEY}&units=metric"
|
|
|
3 |
import gradio as gr
|
4 |
import re
|
5 |
|
|
|
|
|
6 |
|
7 |
def get_weather(city):
|
8 |
url = f"http://api.openweathermap.org/data/2.5/weather?q={city}&appid={OPENWEATHER_API_KEY}&units=metric"
|