acecalisto3 commited on
Commit
b68ac1e
·
verified ·
1 Parent(s): 5fa9513

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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(start_scraping, inputs=[storage_location, urls, scrape_interval, content_type, stop_scraping_flag], outputs=csv_output)
 
 
 
 
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