iseesaw commited on
Commit
0011614
1 Parent(s): ebb94ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from openai import OpenAI
3
  import gradio as gr
4
 
5
  api_key = os.environ.get("OPENAI_API_KEY")
6
- base_url = os.environ.get("OPENAI_BASE_URL")
7
  client = OpenAI(api_key=api_key, base_url=base_url)
8
 
9
  def predict(message, history):
 
3
  import gradio as gr
4
 
5
  api_key = os.environ.get("OPENAI_API_KEY")
6
+ base_url = os.environ.get("OPENAI_API_BASE")
7
  client = OpenAI(api_key=api_key, base_url=base_url)
8
 
9
  def predict(message, history):