stackConsult commited on
Commit
83bf595
·
verified ·
1 Parent(s): 173c3d7

Fix indentation error on line 244 - move load_enrichment_data to root level

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -241,8 +241,7 @@ with gr.Blocks(title="StrategyStack UI") as demo:
241
  def load_audit_data(profile: Optional[gr.OAuthProfile] = None):
242
  return audit_trail_widget(profile)
243
 
244
- def load_enrichment_data(profile: Optional[gr.OAuthProfile] = None):
245
- if profile is None:
246
  return "# 🔒 Authentication Required\n\nPlease sign in with your Hugging Face account to access data enrichment features."
247
 
248
  username = profile.username
 
241
  def load_audit_data(profile: Optional[gr.OAuthProfile] = None):
242
  return audit_trail_widget(profile)
243
 
244
+ def load_enrichment_data(profile: Optional[gr.OAuthProfile] = None): if profile is None:
 
245
  return "# 🔒 Authentication Required\n\nPlease sign in with your Hugging Face account to access data enrichment features."
246
 
247
  username = profile.username