Spaces:
Runtime error
Runtime error
stevengrove
commited on
Commit
β’
dc0dba4
1
Parent(s):
0439a5a
change layout
Browse files
app.py
CHANGED
@@ -97,6 +97,11 @@ if __name__ == '__main__':
|
|
97 |
with gr.Row():
|
98 |
clear = gr.Button('Clear')
|
99 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
100 |
keep_last_n_paragraphs = gr.Slider(
|
101 |
minimum=0,
|
102 |
maximum=3,
|
@@ -117,6 +122,7 @@ if __name__ == '__main__':
|
|
117 |
value=args.temperature,
|
118 |
step=0.1,
|
119 |
interactive=True,
|
|
|
120 |
label='Temperature')
|
121 |
top_p = gr.Slider(
|
122 |
minimum=0.0,
|
@@ -124,6 +130,7 @@ if __name__ == '__main__':
|
|
124 |
value=args.top_p,
|
125 |
step=0.1,
|
126 |
interactive=True,
|
|
|
127 |
label='Top P')
|
128 |
with gr.Column(scale=0.7):
|
129 |
chatbot = gr.Chatbot(elem_id='chatbot', label='π¦ GPT4Tools').style(height=690)
|
|
|
97 |
with gr.Row():
|
98 |
clear = gr.Button('Clear')
|
99 |
with gr.Row():
|
100 |
+
llm_name = gr.Radio(
|
101 |
+
["Vicuna-13B"],
|
102 |
+
label="LLM Backend",
|
103 |
+
value="Vicuna-13B",
|
104 |
+
interactive=True)
|
105 |
keep_last_n_paragraphs = gr.Slider(
|
106 |
minimum=0,
|
107 |
maximum=3,
|
|
|
122 |
value=args.temperature,
|
123 |
step=0.1,
|
124 |
interactive=True,
|
125 |
+
visible=False,
|
126 |
label='Temperature')
|
127 |
top_p = gr.Slider(
|
128 |
minimum=0.0,
|
|
|
130 |
value=args.top_p,
|
131 |
step=0.1,
|
132 |
interactive=True,
|
133 |
+
visible=False,
|
134 |
label='Top P')
|
135 |
with gr.Column(scale=0.7):
|
136 |
chatbot = gr.Chatbot(elem_id='chatbot', label='π¦ GPT4Tools').style(height=690)
|