Update venuAnalysis.py
Browse files- venuAnalysis.py +3 -3
venuAnalysis.py
CHANGED
@@ -355,8 +355,8 @@ async def load_and_display_dashboard(request: DashboardRequest, req: Request):
|
|
355 |
date_marks = {i: date.strftime('%b %Y') for i, date in enumerate(date_range)}
|
356 |
# Create and run dashboard
|
357 |
create_and_run_dashboard(df, request.topic)
|
358 |
-
base_url =
|
359 |
-
venue_redirect_url = f"{base_url}
|
360 |
# Return response with redirect info - but DON'T open browser here
|
361 |
return {
|
362 |
"status": "success",
|
@@ -408,7 +408,7 @@ def create_and_run_dashboard(df, topic):
|
|
408 |
'letterSpacing': '0.5px',
|
409 |
}),
|
410 |
html.Div([
|
411 |
-
html.P("Research Publication Analysis
|
412 |
'textAlign': 'center',
|
413 |
'color': color_palette['text_light'],
|
414 |
'opacity': '0.8',
|
|
|
355 |
date_marks = {i: date.strftime('%b %Y') for i, date in enumerate(date_range)}
|
356 |
# Create and run dashboard
|
357 |
create_and_run_dashboard(df, request.topic)
|
358 |
+
base_url = str(req.base_url)
|
359 |
+
venue_redirect_url = f"{base_url}venue_redirect/{request.userId}/{request.topic}/{request.year}"
|
360 |
# Return response with redirect info - but DON'T open browser here
|
361 |
return {
|
362 |
"status": "success",
|
|
|
408 |
'letterSpacing': '0.5px',
|
409 |
}),
|
410 |
html.Div([
|
411 |
+
html.P("Research Publication Analysis & Knowledge Mapping", style={
|
412 |
'textAlign': 'center',
|
413 |
'color': color_palette['text_light'],
|
414 |
'opacity': '0.8',
|