Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ with gr.Blocks() as demo:
|
|
72 |
search_button = gr.Button("Search & Get Answer")
|
73 |
results_output = gr.Textbox(label="Response", lines=5)
|
74 |
search_button.click(fn=respond, inputs=[query_input], outputs=[results_output])
|
75 |
-
|
76 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
77 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
78 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
|
|
72 |
search_button = gr.Button("Search & Get Answer")
|
73 |
results_output = gr.Textbox(label="Response", lines=5)
|
74 |
search_button.click(fn=respond, inputs=[query_input], outputs=[results_output])
|
75 |
+
additional_inputs=[
|
76 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
77 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
78 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|