Spaces:
Running
Running
change layout
Browse files
app.py
CHANGED
@@ -85,10 +85,6 @@ with gr.Blocks(gr.themes.Soft(), js=js_code_label, css=custom_css) as demo:
|
|
85 |
|
86 |
gr.Markdown(HEADER_MD)
|
87 |
|
88 |
-
with gr.Row():
|
89 |
-
chat_a = gr.Chatbot(height=500, label="Nudging Answer", elem_id="chatbot")
|
90 |
-
chat_b = gr.Chatbot(height=500, label="Base Answer")
|
91 |
-
|
92 |
with gr.Group():
|
93 |
with gr.Row():
|
94 |
with gr.Column(scale=1.5):
|
@@ -108,7 +104,10 @@ with gr.Blocks(gr.themes.Soft(), js=js_code_label, css=custom_css) as demo:
|
|
108 |
with gr.Row():
|
109 |
stop_btn = gr.Button("Stop")
|
110 |
clear_btn = gr.Button("Clear")
|
111 |
-
|
|
|
|
|
|
|
112 |
base_model_choice.value = "Llama-2-70B"
|
113 |
nudging_model_choice.value = "Llama-2-13B-chat"
|
114 |
system_prompt.value = "Answer the question by walking through the reasoning steps."
|
|
|
85 |
|
86 |
gr.Markdown(HEADER_MD)
|
87 |
|
|
|
|
|
|
|
|
|
88 |
with gr.Group():
|
89 |
with gr.Row():
|
90 |
with gr.Column(scale=1.5):
|
|
|
104 |
with gr.Row():
|
105 |
stop_btn = gr.Button("Stop")
|
106 |
clear_btn = gr.Button("Clear")
|
107 |
+
with gr.Row():
|
108 |
+
chat_a = gr.Chatbot(height=500, label="Nudging Answer", elem_id="chatbot")
|
109 |
+
chat_b = gr.Chatbot(height=500, label="Base Answer")
|
110 |
+
|
111 |
base_model_choice.value = "Llama-2-70B"
|
112 |
nudging_model_choice.value = "Llama-2-13B-chat"
|
113 |
system_prompt.value = "Answer the question by walking through the reasoning steps."
|