Spaces:
PhilSpiel
/
Build error

PhilSpiel commited on
Commit
747c66b
·
verified ·
1 Parent(s): 28b1fc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ coach_code = os.getenv("COACH_CODE")
9
  coach_name_short = os.getenv("COACH_NAME_SHORT")
10
  coach_name_upper = os.getenv("COACH_NAME_UPPER")
11
  sys_prompt_new = os.getenv("PROMPT_NEW")
12
- # theme=os.getenv("THEME")
13
  ################# End PERSONA-SPECIFIC VALUES ######################
14
 
15
  ################# Start OpenAI-SPECIFIC VALUES ######################
@@ -78,6 +78,6 @@ def predict(user_input, history):
78
  return message_content
79
 
80
  #GUI
81
- with gr.Blocks(theme='finlaymacklon/smooth_slate') as demo:
82
  gr.ChatInterface(predict, submit_btn="Chat with "+ coach_name_short, retry_btn=None, undo_btn=None, clear_btn=None, autofocus=True)
83
  demo.launch(show_api=False)
 
9
  coach_name_short = os.getenv("COACH_NAME_SHORT")
10
  coach_name_upper = os.getenv("COACH_NAME_UPPER")
11
  sys_prompt_new = os.getenv("PROMPT_NEW")
12
+ theme=os.getenv("THEME")
13
  ################# End PERSONA-SPECIFIC VALUES ######################
14
 
15
  ################# Start OpenAI-SPECIFIC VALUES ######################
 
78
  return message_content
79
 
80
  #GUI
81
+ with gr.Blocks(theme) as demo:
82
  gr.ChatInterface(predict, submit_btn="Chat with "+ coach_name_short, retry_btn=None, undo_btn=None, clear_btn=None, autofocus=True)
83
  demo.launch(show_api=False)