@@ -997,11 +997,11 @@ def req_logging(self, obj, indent=1):
997
997
def invocations (self , req : models .InvocationsRequest ):
998
998
with self .invocations_lock :
999
999
print (f"\n ----------------------------invocation log@{ datetime .datetime .now ().strftime (f'%Y%m%d%H%M%S' )} --------------------------- " )
1000
- # try:
1001
- # print("")
1002
- # self.req_logging(req)
1003
- # except Exception as e:
1004
- # print("console Log ran into issue: ", e)
1000
+ try :
1001
+ print ("" )
1002
+ self .req_logging (req )
1003
+ except Exception as e :
1004
+ print ("console Log ran into issue: " , e )
1005
1005
# print(f"log@{datetime.datetime.now().strftime(f'%Y%m%d%H%M%S')} req in invocations: {req}")
1006
1006
global user_input_data
1007
1007
user_input_data = {}
@@ -1022,7 +1022,7 @@ def invocations(self, req: models.InvocationsRequest):
1022
1022
f"workflow={ user_input_data ['workflow' ]} ,\n "
1023
1023
f"design_library_style={ user_input_data ['design_library_style' ]} ,\n "
1024
1024
f"camera={ user_input_data ['camera' ]} ,\n "
1025
- f"fidelity_level={ user_input_data ['fidelity_level' ]} ,\n "
1025
+ # f"fidelity_level={user_input_data['fidelity_level']},\n"
1026
1026
f"additional_prompt={ user_input_data ['additional_prompt' ]} ,\n "
1027
1027
f"atmosphere={ user_input_data ['atmosphere' ]} ,\n "
1028
1028
f"img_width={ user_input_data ['img_width' ]} ,\n "
0 commit comments