Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,11 @@ chat_interface = gr.ChatInterface(
|
|
38 |
title='Private ChatGPT',
|
39 |
description='Chat with OpenAI models using their official API. OpenAI <a href="https://platform.openai.com/docs/concepts">promises</a> not to train on input or output of API calls.',
|
40 |
fn=generate,
|
|
|
|
|
|
|
|
|
|
|
41 |
additional_inputs=[
|
42 |
gr.Dropdown(label='model',
|
43 |
choices=MODELS,
|
|
|
38 |
title='Private ChatGPT',
|
39 |
description='Chat with OpenAI models using their official API. OpenAI <a href="https://platform.openai.com/docs/concepts">promises</a> not to train on input or output of API calls.',
|
40 |
fn=generate,
|
41 |
+
chatbot=gr.Chatbot(
|
42 |
+
show_label=False,
|
43 |
+
show_copy_button=True,
|
44 |
+
|
45 |
+
),
|
46 |
additional_inputs=[
|
47 |
gr.Dropdown(label='model',
|
48 |
choices=MODELS,
|