Dagfinn1962 commited on
Commit
3f99673
1 Parent(s): 499b9de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -125,13 +125,12 @@ with gr.Blocks(
125
  with gr.Column():
126
  # to do: change to openaikey input for public release
127
  openai_key = gr.Textbox(
128
- label="OpenAI Key",
129
- value="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",
130
- type="password",
131
- placeholder="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",
132
- info="Free use ! ",
133
- )
134
-
135
  chatbot = gr.Chatbot().style(height=400)
136
  with gr.Row():
137
  with gr.Column():
@@ -219,3 +218,6 @@ with gr.Blocks(
219
  outputs=[system],
220
  queue=False,
221
  )
 
 
 
 
125
  with gr.Column():
126
  # to do: change to openaikey input for public release
127
  openai_key = gr.Textbox(
128
+ label="OpenAI Key",
129
+ value="",
130
+ type="password",
131
+ placeholder="sk..",
132
+ info="You have to provide your own OpenAI API key.",
133
+ )
 
134
  chatbot = gr.Chatbot().style(height=400)
135
  with gr.Row():
136
  with gr.Column():
 
218
  outputs=[system],
219
  queue=False,
220
  )
221
+
222
+
223
+ demo.queue(max_size=36, concurrency_count=14).launch(debug=True)