breadlicker45 commited on
Commit
e562d47
·
1 Parent(s): 165b417

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -26,7 +26,7 @@ with st.sidebar:
26
  'Early stopping text generation',
27
  ('True', 'False'), key={'True' : True, 'False': False}, index=0)
28
 
29
- no_ngram_repeat = st.slider('Max repetition limit', 1, 3, 1)
30
 
31
  st.markdown('## how to convert it into midi. go to this site https://mrcheeze.github.io/musenet-midi/ and then paste the numbers/musenet encoders you get from the ai into the big box and then click export midi')
32
 
@@ -38,7 +38,7 @@ with col1:
38
  with col2:
39
  select_model = st.radio(
40
  "Select the model to use:",
41
- ('MuseWeb', 'MusePy', 'MuseNeo', 'MusePy-1-1', 'MuseCan'), index = 4)
42
 
43
  if select_model == 'MuseWeb':
44
  model = 'breadlicker45/museweb'
@@ -50,6 +50,8 @@ with col2:
50
  model = 'BreadAi/MusePy-1-1'
51
  elif select_model == 'MuseCan':
52
  model = 'BreadAi/MuseCan'
 
 
53
 
54
  with st.spinner('Loading Model... (This may take a while)'):
55
  generator = get_model()
 
26
  'Early stopping text generation',
27
  ('True', 'False'), key={'True' : True, 'False': False}, index=0)
28
 
29
+ no_ngram_repeat = st.slider('Max repetition limit', 1, 3, 2)
30
 
31
  st.markdown('## how to convert it into midi. go to this site https://mrcheeze.github.io/musenet-midi/ and then paste the numbers/musenet encoders you get from the ai into the big box and then click export midi')
32
 
 
38
  with col2:
39
  select_model = st.radio(
40
  "Select the model to use:",
41
+ ('MuseWeb', 'MusePy', 'MuseNeo', 'MusePy-1-1', 'MuseCan', 'MuseCan-1-1'), index = 5)
42
 
43
  if select_model == 'MuseWeb':
44
  model = 'breadlicker45/museweb'
 
50
  model = 'BreadAi/MusePy-1-1'
51
  elif select_model == 'MuseCan':
52
  model = 'BreadAi/MuseCan'
53
+ elif select_model == 'MuseCan-1-1':
54
+ model = 'BreadAi/MuseCan-1-1'
55
 
56
  with st.spinner('Loading Model... (This may take a while)'):
57
  generator = get_model()