File tree Expand file tree Collapse file tree 4 files changed +6
-25
lines changed Expand file tree Collapse file tree 4 files changed +6
-25
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ path = "app_pages/Unity_vs_CR.py"
9
9
name = " Unity vs Curious Reader Funnel"
10
10
icon = " :small_orange_diamond:"
11
11
12
- [[pages ]]
13
- path = " app_pages/test.py"
14
- name = " Test Performance Page"
15
- icon = " :small_orange_diamond:"
16
12
17
13
[[pages ]]
18
14
path = " app_pages/CR_Funnel.py"
Original file line number Diff line number Diff line change 1
- import time
2
- start = time .time ()
1
+
3
2
import streamlit as st
4
- st .write ("Streamlit import" , time .time () - start )
5
- start = time .time ()
6
3
from settings import initialize
7
- st .write ("Settings import" , time .time () - start )
8
- start = time .time ()
9
4
from ui_components import create_funnels
10
- st .write ("UI Components" , time .time () - start )
11
- start = time .time ()
12
5
import ui_widgets as ui
13
- st .write ("UI Widgets" , time .time () - start )
14
6
15
7
initialize ()
16
8
@@ -52,6 +44,9 @@ def load_languages():
52
44
key = "acq-2" ,
53
45
placement = "middle"
54
46
)
47
+
48
+ from users import init_user_list
49
+ init_user_list ()
55
50
56
51
# --- Date Display ---
57
52
if len (daterange ) == 2 :
Original file line number Diff line number Diff line change 1
1
import time
2
2
start = time .time ()
3
- import pandas as pd
4
- import pyarrow
5
3
import streamlit as st
6
- import streamlit as st
7
- import settings
8
- from rich import print as rprint
9
- from millify import prettify
10
- import ui_components as uic
11
- import ui_widgets as ui
12
- import users
13
- import metrics
14
- from settings import get_logger
4
+ from settings import initialize
15
5
16
6
st .write ("Imports done" , time .time () - start )
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def get_gcp_credentials():
61
61
def initialize ():
62
62
pd .options .mode .copy_on_write = True
63
63
pd .set_option ("display.max_columns" , 20 )
64
- users . init_user_list ()
64
+
65
65
66
66
67
67
def init_cr_app_version_list ():
You can’t perform that action at this time.
0 commit comments