omri374 commited on
Commit
0b0dc50
1 Parent(s): b60cda0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -9
app.py CHANGED
@@ -143,12 +143,5 @@ class ToDictEncoder(JSONEncoder):
143
  return o.to_dict()
144
 
145
 
146
- st.json(json.dumps(st_analyze_results, cls=ToDictEncoder))
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))