Spaces:
Sleeping
Sleeping
lakshmi324
commited on
Commit
•
34dc7bb
1
Parent(s):
4a2910c
updated the environment setting
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ class airpods(object):
|
|
60 |
return 'Extremly sorry, Your Earpods/ Headphones are Probably Knock off'
|
61 |
|
62 |
def app_check(input_model,input_charging_case_serial,input_box_serial_number,input_leftbud_model,input_rightbud_model,input_leftbud_serial,input_rightbud_serial,input_firmware):
|
63 |
-
input_dict =
|
64 |
print('the values',[len(input_charging_case_serial) , len(input_charging_case_serial) , len(input_leftbud_serial) , len(input_rightbud_serial)])
|
65 |
print('the condition 1 check',all([len(input_charging_case_serial) , len(input_charging_case_serial) , len(input_leftbud_serial) , len(input_rightbud_serial)]) >= 10)
|
66 |
print('the condition 2 check',all([len(input_charging_case_serial) , len(input_charging_case_serial) , len(input_leftbud_serial) , len(input_rightbud_serial)]) < 15)
|
|
|
60 |
return 'Extremly sorry, Your Earpods/ Headphones are Probably Knock off'
|
61 |
|
62 |
def app_check(input_model,input_charging_case_serial,input_box_serial_number,input_leftbud_model,input_rightbud_model,input_leftbud_serial,input_rightbud_serial,input_firmware):
|
63 |
+
input_dict = ast.literal_eval(os.environ.get('master'))
|
64 |
print('the values',[len(input_charging_case_serial) , len(input_charging_case_serial) , len(input_leftbud_serial) , len(input_rightbud_serial)])
|
65 |
print('the condition 1 check',all([len(input_charging_case_serial) , len(input_charging_case_serial) , len(input_leftbud_serial) , len(input_rightbud_serial)]) >= 10)
|
66 |
print('the condition 2 check',all([len(input_charging_case_serial) , len(input_charging_case_serial) , len(input_leftbud_serial) , len(input_rightbud_serial)]) < 15)
|