Spaces:
Sleeping
Sleeping
Fix indentation error on line 244 - move load_enrichment_data to root level
Browse files
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 |
-
|
| 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
|