Update app.py
Browse files
app.py
CHANGED
@@ -143,12 +143,5 @@ class ToDictEncoder(JSONEncoder):
|
|
143 |
return o.to_dict()
|
144 |
|
145 |
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
import gradio as gr
|
152 |
-
|
153 |
-
from presidio_analyzer import AnalyzerEngine, RecognizerRegistry
|
154 |
-
|
|
|
143 |
return o.to_dict()
|
144 |
|
145 |
|
146 |
+
if st_return_decision_process:
|
147 |
+
st.json(json.dumps(st_analyze_results, cls=ToDictEncoder))
|
|
|
|
|
|
|
|
|
|
|
|
|
|