awacke1 commited on
Commit
7b713bf
Β·
verified Β·
1 Parent(s): 4ba2c98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -0
app.py CHANGED
@@ -6,6 +6,27 @@ from typing import List, Tuple
6
  from uuid import uuid4
7
  import time
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  # πŸ”‘ Set the OpenAI API key from an environment variable
10
  openai.api_key = os.getenv("OPENAI_API_KEY")
11
 
 
6
  from uuid import uuid4
7
  import time
8
 
9
+ # 1. πŸ› οΈ Configuration
10
+ Site_Name = '🌟 Self-Taught Reasoner (STaR) App'
11
+ title = "πŸ€”πŸŒŸ STaR: Self-Taught Reasoner - Bootstrapping Reasoning With Reasoning"
12
+ helpURL = 'https://arxiv.org/abs/2203.14465'
13
+ bugURL = 'https://arxiv.org/pdf/2203.14465'
14
+ icons = 'πŸŒŸπŸ€”'
15
+
16
+ useConfig = True
17
+ if useConfig:
18
+ st.set_page_config(
19
+ page_title=title,
20
+ page_icon=icons,
21
+ layout="wide",
22
+ initial_sidebar_state="auto",
23
+ menu_items={
24
+ 'Get Help': helpURL,
25
+ 'Report a bug': bugURL,
26
+ 'About': title
27
+ }
28
+ )
29
+
30
  # πŸ”‘ Set the OpenAI API key from an environment variable
31
  openai.api_key = os.getenv("OPENAI_API_KEY")
32