@@ -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 = {}
@@ -1025,8 +1025,8 @@ def invocations(self, req: models.InvocationsRequest):
1025
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
- f"img_width ={ user_input_data ['img_width ' ]} ,\n "
1029
- f"img_height ={ user_input_data ['img_height ' ]} \n "
1028
+ f"orientation ={ user_input_data ['orientation ' ]} ,\n "
1029
+ f"imageRatio ={ user_input_data ['imageRatio ' ]} \n "
1030
1030
)
1031
1031
# print(f"log@{datetime.datetime.now().strftime(f'%Y%m%d%H%M%S')} user_input processed in invocations")
1032
1032
# req.pop('user_input', None)
0 commit comments