serJD commited on
Commit
eaf669c
·
verified ·
1 Parent(s): 62088b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -149,13 +149,15 @@ async def mergeStreams(request: Request):
149
 
150
 
151
  print (aggregated_df_b_noGeo)
152
- updateStreamAnalysisFast(
153
- client = CLIENT,
154
- stream_id =STREAM_ID,
155
- branch_name = branchB,
156
- new_data=aggregated_df_b_noGeo ,
157
- geometryGroupPath=["@Data", "@{0}"],
158
- match_by_id="id",
159
- #openai_key =None,
160
- return_original = False,
161
- comm_message="auto commit from HF; Triggered by:" + update_source)
 
 
 
149
 
150
 
151
  print (aggregated_df_b_noGeo)
152
+ commit_id = updateStreamAnalysisFast(
153
+ client = CLIENT,
154
+ stream_id =STREAM_ID,
155
+ branch_name = branchB,
156
+ new_data=aggregated_df_b_noGeo ,
157
+ geometryGroupPath=["@Data", "@{0}"],
158
+ match_by_id="id",
159
+ #openai_key =None,
160
+ return_original = False,
161
+ comm_message="auto commit from HF; Triggered by:" + update_source)
162
+
163
+ return "https://speckle.xyz/streams/" + STREAM_ID + "/commits/" + commit_id