ChenyuRabbitLove commited on
Commit
0675490
1 Parent(s): 34a9275

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=OPEN_AI_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"""