Shad0ws commited on
Commit
352aef3
1 Parent(s): b7b7347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,7 +19,7 @@ from model import get_model_tokenizer_classifier
19
  from errors import TranscriptError
20
 
21
  st.set_page_config(
22
- page_title='SponsorBlock ML',
23
  page_icon='🤖',
24
  layout='wide',
25
  # initial_sidebar_state="expanded",
@@ -65,12 +65,12 @@ YT_VIDEO_REGEX = r'''(?x)^
65
 
66
 
67
  # Faster caching system for predictions (No need to hash)
68
- @st.cache(persist=True, allow_output_mutation=True)
69
  def create_prediction_cache():
70
  return {}
71
 
72
 
73
- @st.cache(persist=True, allow_output_mutation=True)
74
  def create_function_cache():
75
  return {}
76
 
 
19
  from errors import TranscriptError
20
 
21
  st.set_page_config(
22
+ page_title='PromoDetect',
23
  page_icon='🤖',
24
  layout='wide',
25
  # initial_sidebar_state="expanded",
 
65
 
66
 
67
  # Faster caching system for predictions (No need to hash)
68
+ @st.cache_data(persist=True, allow_output_mutation=True)
69
  def create_prediction_cache():
70
  return {}
71
 
72
 
73
+ @st.cache_data(persist=True, allow_output_mutation=True)
74
  def create_function_cache():
75
  return {}
76