Spaces:
Running
Running
~UI
Browse files
app.py
CHANGED
@@ -93,8 +93,8 @@ with gr.Blocks(css=css) as demo:
|
|
93 |
with gr.Column():
|
94 |
chatbot = gr.Chatbot(elem_id="chatbox")
|
95 |
input_message = gr.Textbox(show_label=False, placeholder="Enter text and press enter", visible=True).style(container=False)
|
96 |
-
total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
|
97 |
btn_submit = gr.Button("Submit")
|
|
|
98 |
btn_clear_conversation = gr.Button("๐ Start New Conversation")
|
99 |
with gr.Column():
|
100 |
prompt_template = gr.Dropdown(label="Set a custom insruction for the chatbot:", choices=list(prompt_templates.keys()))
|
|
|
93 |
with gr.Column():
|
94 |
chatbot = gr.Chatbot(elem_id="chatbox")
|
95 |
input_message = gr.Textbox(show_label=False, placeholder="Enter text and press enter", visible=True).style(container=False)
|
|
|
96 |
btn_submit = gr.Button("Submit")
|
97 |
+
total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
|
98 |
btn_clear_conversation = gr.Button("๐ Start New Conversation")
|
99 |
with gr.Column():
|
100 |
prompt_template = gr.Dropdown(label="Set a custom insruction for the chatbot:", choices=list(prompt_templates.keys()))
|