Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mariotawfik
commited on
Commit
•
493da40
1
Parent(s):
44e0483
Update app.py
Browse files
app.py
CHANGED
@@ -188,11 +188,11 @@ def decrypt_prediction(user_id):
|
|
188 |
|
189 |
predictions = fhe_api.deserialize_decrypt_dequantize(encrypted_prediction)
|
190 |
|
191 |
-
if(predictions[0][0] >= 0.5)
|
192 |
return "Safe file"
|
193 |
-
|
194 |
return "Malware"
|
195 |
-
|
196 |
|
197 |
|
198 |
if __name__ == "__main__":
|
|
|
188 |
|
189 |
predictions = fhe_api.deserialize_decrypt_dequantize(encrypted_prediction)
|
190 |
|
191 |
+
if(predictions[0][0] >= 0.5):
|
192 |
return "Safe file"
|
193 |
+
else:
|
194 |
return "Malware"
|
195 |
+
|
196 |
|
197 |
|
198 |
if __name__ == "__main__":
|