berkaygkv54 commited on
Commit
f90365c
1 Parent(s): 69d8a1b

text input

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from streamlit import session_state as session
3
  from src.config.configs import ProjectPaths
4
  import numpy as np
5
- # from src.laion_clap.inference import AudioEncoder
6
 
7
 
8
  @st.cache(persist=True, show_spinner=False, suppress_st_warning=True)
@@ -11,7 +11,7 @@ def load_data():
11
  return vectors
12
 
13
 
14
- # recommender = AudioEncoder()
15
  audio_vectors = load_data()
16
 
17
  dataframe = None
@@ -25,7 +25,7 @@ st.text("")
25
  st.text("")
26
  st.text("")
27
 
28
- session.text_input = st.text("Describe a playlist")
29
 
30
  st.text("")
31
  st.text("")
 
2
  from streamlit import session_state as session
3
  from src.config.configs import ProjectPaths
4
  import numpy as np
5
+ from src.laion_clap.inference import AudioEncoder
6
 
7
 
8
  @st.cache(persist=True, show_spinner=False, suppress_st_warning=True)
 
11
  return vectors
12
 
13
 
14
+ recommender = AudioEncoder()
15
  audio_vectors = load_data()
16
 
17
  dataframe = None
 
25
  st.text("")
26
  st.text("")
27
 
28
+ session.text_input = st.text_input(label="Describe a playlist")
29
 
30
  st.text("")
31
  st.text("")