aboutsummaryrefslogtreecommitdiff
path: root/app/views.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-10 12:39:26 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-10 12:39:26 +0530
commit3f0346b2bb57a97f177a13ceb709629545a0d87c (patch)
tree87b1de424ce2d026c1283afd389af909893703de /app/views.py
parent4b48546cea6c894d735f6c9e9d271f4f6a15a57e (diff)
removed upload folder from config.ini
Diffstat (limited to 'app/views.py')
-rw-r--r--app/views.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views.py b/app/views.py
index c272e73..698d621 100644
--- a/app/views.py
+++ b/app/views.py
@@ -127,8 +127,8 @@ def status():
done="Queued"
if protein_name == None:
protein_name = r[6]
-
- PDFReport = "/static/uploads/reports/" + str(jobID) + ".pdf"
+
+ PDFReport = "./app/static/uploads/reports/" + str(jobID) + ".pdf"
AndroidModel = "/static/uploads/3DModels/" + str(jobID) + ".gltf"
iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz"
@@ -247,6 +247,7 @@ def generate_pdbqts():
return render_template('pdbqt_form.html',form=myform)
+tfWorking = 0
if app.config['LSTM']:
try:
import tensorflow as tf