Dagfinn1962 commited on
Commit
c1336c1
1 Parent(s): 447a3c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -115,17 +115,8 @@ def call_inf_server(prompt, openai_key):
115
  with gr.Blocks(theme=gr.themes.Glass(primary_hue=gr.themes.colors.blue, secondary_hue=gr.themes.colors.lime)) as demo:
116
  conversation = Chat()
117
 
 
118
  with gr.Column():
119
- # to do: change to openaikey input for public release
120
- openai_key = gr.Textbox(
121
- label="OpenAI Key",
122
- value="",
123
- type="password",
124
- placeholder="sk..",
125
- info="You have to provide your own OpenAI API key.",
126
- )
127
- chatbot = gr.Chatbot().style(height=200)
128
- with gr.Column():
129
  msg = gr.Textbox(
130
  label="Chat Message Box",
131
  placeholder="Chat Message Box",
 
115
  with gr.Blocks(theme=gr.themes.Glass(primary_hue=gr.themes.colors.blue, secondary_hue=gr.themes.colors.lime)) as demo:
116
  conversation = Chat()
117
 
118
+ chatbot = gr.Chatbot().style(height=200, background-color=blue)
119
  with gr.Column():
 
 
 
 
 
 
 
 
 
 
120
  msg = gr.Textbox(
121
  label="Chat Message Box",
122
  placeholder="Chat Message Box",