Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ def update_Weight_Precision(temp_precisions):
|
|
148 |
|
149 |
if set(temp_precisions) == {"16bit", "32bit"}:
|
150 |
selected_precisions = temp_precisions.copy()
|
151 |
-
elif (temp_precisions == ["16bit"] or temp_precisions == ["32bit"]) and current_precision == ["16bit", "32bit"]:
|
152 |
selected_precisions = temp_precisions
|
153 |
else:
|
154 |
if "16bit" in precisions or "32bit" in precisions:
|
|
|
148 |
|
149 |
if set(temp_precisions) == {"16bit", "32bit"}:
|
150 |
selected_precisions = temp_precisions.copy()
|
151 |
+
elif (temp_precisions == ["16bit"] or temp_precisions == ["32bit"]) and set(current_precision) == set(["16bit", "32bit"]):
|
152 |
selected_precisions = temp_precisions
|
153 |
else:
|
154 |
if "16bit" in precisions or "32bit" in precisions:
|