Anne31415 commited on
Commit
c6bf77d
·
1 Parent(s): 20bf4f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,6 +8,8 @@ from PIL import Image
8
  import io
9
  import matplotlib.pyplot as plt
10
 
 
 
11
  # Initialize OpenAI client
12
  client = openai.Client()
13
  api_key = os.getenv("OPENAI_API_KEY")
@@ -80,7 +82,6 @@ def page2():
80
  st.error(f"Upsi, an unexpected error occurred: {e}")
81
 
82
  def page1():
83
- st.set_page_config(page_title="OpenAI - Assistent API")
84
  st.sidebar.title("OpenAI - Assistant API🤖")
85
  st.sidebar.markdown("**Model:** gpt-4-1106-preview API")
86
  st.sidebar.markdown("**Version:** 1.1")
 
8
  import io
9
  import matplotlib.pyplot as plt
10
 
11
+ st.set_page_config(page_title="OpenAI - Assistent API")
12
+
13
  # Initialize OpenAI client
14
  client = openai.Client()
15
  api_key = os.getenv("OPENAI_API_KEY")
 
82
  st.error(f"Upsi, an unexpected error occurred: {e}")
83
 
84
  def page1():
 
85
  st.sidebar.title("OpenAI - Assistant API🤖")
86
  st.sidebar.markdown("**Model:** gpt-4-1106-preview API")
87
  st.sidebar.markdown("**Version:** 1.1")