Commit cec92777 authored by Administrator's avatar Administrator

[FIX] Pubmed scrapper.

parent b5fd4c50
......@@ -167,7 +167,7 @@ def doTheQuery(request , project_id):
extract_ngrams(corpus, ['title'])
compute_tfidf(corpus)
if DEBUG:
apply_workflow(corpus)
apply_workflow.apply_async(corpus)
else:
thread = threading.Thread(target=apply_workflow, args=(corpus, ), daemon=True)
thread.start()
......
......@@ -328,7 +328,7 @@
console.log("enabling "+"#"+value.id)
$("#"+value.id).attr('onclick','getGlobalResults(this);');
// $("#submit_thing").prop('disabled' , false)
$("#submit_thing").html("Process a 1000 sample!")
$("#submit_thing").html("Process a 100 sample!")
thequeries = data
var N=0,k=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment