Pendrokar commited on
Commit
a4ca82b
β€’
1 Parent(s): 83ebf46

indent fix

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -172,12 +172,12 @@ def predict(
172
  use_cleanup = 0
173
 
174
  pluginsContext = {}
175
- pluginsContext["mantella_settings"] = {
176
- "emAngry": anger if anger > 0 else 0,
177
- "emHappy": happy if happy > 0 else 0,
178
- "emSad": sad if sad > 0 else 0,
179
- "emSurprise": surprise if surprise > 0 else 0
180
- }
181
 
182
  data = {
183
  'pluginsContext': json.dumps(pluginsContext),
 
172
  use_cleanup = 0
173
 
174
  pluginsContext = {}
175
+ pluginsContext["mantella_settings"] = {
176
+ "emAngry": (anger if anger > 0 else 0),
177
+ "emHappy": (happy if happy > 0 else 0),
178
+ "emSad": (sad if sad > 0 else 0),
179
+ "emSurprise": (surprise if surprise > 0 else 0)
180
+ }
181
 
182
  data = {
183
  'pluginsContext': json.dumps(pluginsContext),