Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -128,10 +128,10 @@ def create_interface():
|
|
128 |
|
129 |
stop_scraping_flag = [False]
|
130 |
start_button.click(
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
stop_button.click(stop_scraping, inputs=[stop_scraping_flag], outputs=[csv_output])
|
136 |
message.submit(chat_interface, inputs=[message, chat_history, system_message, max_tokens, temperature, top_p], outputs=[chat_history, response_box])
|
137 |
|
|
|
128 |
|
129 |
stop_scraping_flag = [False]
|
130 |
start_button.click(
|
131 |
+
fn=update_model_config,
|
132 |
+
inputs=[model_name_input, gpu_layers_input],
|
133 |
+
outputs="text"
|
134 |
+
)
|
135 |
stop_button.click(stop_scraping, inputs=[stop_scraping_flag], outputs=[csv_output])
|
136 |
message.submit(chat_interface, inputs=[message, chat_history, system_message, max_tokens, temperature, top_p], outputs=[chat_history, response_box])
|
137 |
|