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

Fix syntax error on line 244 - separate concatenated statements onto different lines

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -241,9 +241,9 @@ 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): 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
248
  manager = get_enrichment_manager(username)
249
  stats = manager.get_enrichment_stats()
 
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
  username = profile.username
248
  manager = get_enrichment_manager(username)
249
  stats = manager.get_enrichment_stats()