davidmezzetti commited on
Commit
56874e4
1 Parent(s): 1f6d633

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -543,11 +543,12 @@ class Application:
543
  st.session_state["data"] = data
544
  st.session_state["workflow"] = workflow
545
 
546
- # Parse text items
547
- data = self.parse(data) if data else data
548
-
549
- # Process current action
550
- self.process(data, workflow)
 
551
 
552
 
553
  @st.cache(allow_output_mutation=True)
 
543
  st.session_state["data"] = data
544
  st.session_state["workflow"] = workflow
545
 
546
+ if selected:
547
+ # Parse text items
548
+ data = self.parse(data) if data else data
549
+
550
+ # Process current action
551
+ self.process(data, workflow)
552
 
553
 
554
  @st.cache(allow_output_mutation=True)