Spaces:
Sleeping
Sleeping
Arnab Das
commited on
Commit
•
f0d2c06
1
Parent(s):
c4365d2
Modify
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def process(file, type):
|
|
34 |
|
35 |
op = model(inp).detach().squeeze()[1].item()
|
36 |
|
37 |
-
response_text = "Decision score: {} \
|
38 |
str(op), str(model_master[type]["eer_threshold"]), model_master[type]["note"])
|
39 |
return response_text
|
40 |
|
|
|
34 |
|
35 |
op = model(inp).detach().squeeze()[1].item()
|
36 |
|
37 |
+
response_text = "Decision score: {} \nDecision threshold: {} \nNotes: 1. Any score below threshold is indicative of fake. \n2. {} ".format(
|
38 |
str(op), str(model_master[type]["eer_threshold"]), model_master[type]["note"])
|
39 |
return response_text
|
40 |
|