Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,12 +85,19 @@ CLIENT = SpeckleClient(host="https://speckle.xyz/")
|
|
85 |
CLIENT.authenticate_with_token(token=userdata.get('speckleToken'))
|
86 |
"""
|
87 |
|
|
|
|
|
88 |
import speckle_utils
|
89 |
|
90 |
from config import landuseDatabaseId , streamId, branch_name_dm, commit_id_dm
|
91 |
#from imports_utils import streamMatrices
|
92 |
from imports_utils import speckleToken
|
93 |
|
|
|
|
|
|
|
|
|
|
|
94 |
streamDistanceMatrices = speckle_utils.getSpeckleStream(streamId,branch_name_dm,CLIENT, commit_id_dm)
|
95 |
|
96 |
|
|
|
85 |
CLIENT.authenticate_with_token(token=userdata.get('speckleToken'))
|
86 |
"""
|
87 |
|
88 |
+
|
89 |
+
|
90 |
import speckle_utils
|
91 |
|
92 |
from config import landuseDatabaseId , streamId, branch_name_dm, commit_id_dm
|
93 |
#from imports_utils import streamMatrices
|
94 |
from imports_utils import speckleToken
|
95 |
|
96 |
+
CLIENT = SpeckleClient(host="https://speckle.xyz/")
|
97 |
+
account = get_default_account()
|
98 |
+
CLIENT.authenticate(token=speckleToken)
|
99 |
+
|
100 |
+
|
101 |
streamDistanceMatrices = speckle_utils.getSpeckleStream(streamId,branch_name_dm,CLIENT, commit_id_dm)
|
102 |
|
103 |
|