Johnny Lee commited on
Commit
75219b0
·
1 Parent(s): a62624f
Files changed (3) hide show
  1. .gitignore +1 -1
  2. README.md +1 -2
  3. app.py +3 -3
.gitignore CHANGED
@@ -85,7 +85,7 @@ ipython_config.py
85
  # pyenv
86
  # For a library or package, you might want to ignore these files since the code is
87
  # intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
89
 
90
  # pipenv
91
  # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
 
85
  # pyenv
86
  # For a library or package, you might want to ignore these files since the code is
87
  # intended to run in multiple environments; otherwise, check them in:
88
+ .python-version
89
 
90
  # pipenv
91
  # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Chatgpt Clone
3
  emoji: 🏆
4
  colorFrom: gray
5
  colorTo: yellow
@@ -7,5 +7,4 @@ sdk: gradio
7
  app_file: app.py
8
  pinned: false
9
  license: cc
10
- duplicated_from: johnnyclee/chatgpt_clone
11
  ---
 
1
  ---
2
+ title: CBS Tech Strategy
3
  emoji: 🏆
4
  colorFrom: gray
5
  colorTo: yellow
 
7
  app_file: app.py
8
  pinned: false
9
  license: cc
 
10
  ---
app.py CHANGED
@@ -51,7 +51,7 @@ GSHEET_ID = os.getenv("GSHEET_ID")
51
  AUTH_GSHEET_NAME = os.getenv("AUTH_GSHEET_NAME")
52
  TURNS_GSHEET_NAME = os.getenv("TURNS_GSHEET_NAME")
53
 
54
- theme = gr.themes.Soft()
55
 
56
  creds = [(os.getenv("CHAT_USERNAME"), os.getenv("CHAT_PASSWORD"))]
57
 
@@ -551,7 +551,7 @@ with gr.Blocks(
551
  with gr.Row():
552
  chatbot_mode = gr.Radio(
553
  label="Mode",
554
- choices=config.chatbot_modes,
555
  value=ChatbotMode.DEFAULT,
556
  )
557
  case_input = gr.Dropdown(
@@ -564,7 +564,7 @@ with gr.Blocks(
564
  with gr.Row():
565
  input_message = gr.Textbox(
566
  placeholder="Send a message.",
567
- label="Type a message to begin",
568
  scale=5,
569
  )
570
  chat_submit_button = gr.Button(value="Submit")
 
51
  AUTH_GSHEET_NAME = os.getenv("AUTH_GSHEET_NAME")
52
  TURNS_GSHEET_NAME = os.getenv("TURNS_GSHEET_NAME")
53
 
54
+ theme = gr.themes.Base()
55
 
56
  creds = [(os.getenv("CHAT_USERNAME"), os.getenv("CHAT_PASSWORD"))]
57
 
 
551
  with gr.Row():
552
  chatbot_mode = gr.Radio(
553
  label="Mode",
554
+ choices=[ChatbotMode.DEBATE_PARTNER],
555
  value=ChatbotMode.DEFAULT,
556
  )
557
  case_input = gr.Dropdown(
 
564
  with gr.Row():
565
  input_message = gr.Textbox(
566
  placeholder="Send a message.",
567
+ label="To begin the conversation, please enter a greeting.",
568
  scale=5,
569
  )
570
  chat_submit_button = gr.Button(value="Submit")