Dagfinn1962 commited on
Commit
1c05589
1 Parent(s): 8fa80ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,7 +129,7 @@ with gr.Blocks(
129
  )
130
  conversation = Chat()
131
  with gr.Row():
132
- with gr.Column():
133
  # to do: change to openaikey input for public release
134
  openai_key = gr.Textbox(
135
  label="OpenAI Key",
@@ -137,7 +137,7 @@ with gr.Blocks(
137
  type="password",
138
  placeholder="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",
139
  info="You have to provide your own OpenAI API key.",
140
- ).hide()
141
  chatbot = gr.Chatbot().style(height=400)
142
  with gr.Row():
143
  with gr.Column():
 
129
  )
130
  conversation = Chat()
131
  with gr.Row():
132
+ with gr.Column.hide():
133
  # to do: change to openaikey input for public release
134
  openai_key = gr.Textbox(
135
  label="OpenAI Key",
 
137
  type="password",
138
  placeholder="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",
139
  info="You have to provide your own OpenAI API key.",
140
+
141
  chatbot = gr.Chatbot().style(height=400)
142
  with gr.Row():
143
  with gr.Column():