Spaces:
Runtime error
Runtime error
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,11 @@ def create_interface():
|
|
131 |
response_box = gr.Textbox(label="Response")
|
132 |
|
133 |
stop_scraping_flag = [False]
|
134 |
-
start_button.click(
|
|
|
|
|
|
|
|
|
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 |
|
|
|
131 |
response_box = gr.Textbox(label="Response")
|
132 |
|
133 |
stop_scraping_flag = [False]
|
134 |
+
start_button.click(
|
135 |
+
start_scraping,
|
136 |
+
inputs=[storage_location, urls, scrape_interval, content_type, stop_scraping_flag],
|
137 |
+
outputs=csv_output
|
138 |
+
)
|
139 |
stop_button.click(stop_scraping, inputs=[stop_scraping_flag], outputs=[csv_output])
|
140 |
message.submit(chat_interface, inputs=[message, chat_history, system_message, max_tokens, temperature, top_p], outputs=[chat_history, response_box])
|
141 |
|