jzou19950715 commited on
Commit
bbdef94
·
verified ·
1 Parent(s): cbfa1a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ import gradio as gr
36
  try:
37
  from openai import OpenAI
38
  # For error handling, if relevant
39
- from openai.error import OpenAIError
40
  except ImportError:
41
  # If the user doesn't have the correct openai library, instruct them to install or pin
42
  raise ImportError(
 
36
  try:
37
  from openai import OpenAI
38
  # For error handling, if relevant
39
+ from openai import OpenAIError
40
  except ImportError:
41
  # If the user doesn't have the correct openai library, instruct them to install or pin
42
  raise ImportError(