AvaLovelace commited on
Commit
6da2a10
·
verified ·
1 Parent(s): d33cbb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -16,6 +16,7 @@ from brickgpt.models import BrickGPT, BrickGPTConfig
16
 
17
  def setup():
18
  # Set up Gurobi licence
 
19
  licence_filename = 'gurobi.lic'
20
  licence_lines = []
21
  for secret_name in ['WLSACCESSID', 'WLSSECRET', 'LICENSEID']:
@@ -28,6 +29,7 @@ def setup():
28
  os.environ['GRB_LICENSE_FILE'] = os.path.abspath(licence_filename)
29
 
30
  # Download LDraw part library and set LDraw library path
 
31
  ldraw_zip_url = 'https://library.ldraw.org/library/updates/complete.zip'
32
  ldraw_zip_filename = 'complete.zip'
33
  urlretrieve(ldraw_zip_url, ldraw_zip_filename)
 
16
 
17
  def setup():
18
  # Set up Gurobi licence
19
+ print("Creating Gurobi licence...")
20
  licence_filename = 'gurobi.lic'
21
  licence_lines = []
22
  for secret_name in ['WLSACCESSID', 'WLSSECRET', 'LICENSEID']:
 
29
  os.environ['GRB_LICENSE_FILE'] = os.path.abspath(licence_filename)
30
 
31
  # Download LDraw part library and set LDraw library path
32
+ print("Downloading LDraw part library...")
33
  ldraw_zip_url = 'https://library.ldraw.org/library/updates/complete.zip'
34
  ldraw_zip_filename = 'complete.zip'
35
  urlretrieve(ldraw_zip_url, ldraw_zip_filename)