Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from huggingface_hub import InferenceClient
|
|
| 6 |
from tenacity import retry, wait_random_exponential, stop_after_attempt
|
| 7 |
|
| 8 |
OPENAI_KEY = os.getenv("OPENAI_KEY")
|
| 9 |
-
client = OpenAI(api_key=
|
| 10 |
|
| 11 |
def get_current_weather(location, unit="celsius"):
|
| 12 |
"""Get the current weather in a given location"""
|
|
|
|
| 6 |
from tenacity import retry, wait_random_exponential, stop_after_attempt
|
| 7 |
|
| 8 |
OPENAI_KEY = os.getenv("OPENAI_KEY")
|
| 9 |
+
client = OpenAI(api_key=OPENAI_KEY)
|
| 10 |
|
| 11 |
def get_current_weather(location, unit="celsius"):
|
| 12 |
"""Get the current weather in a given location"""
|