sonoisa commited on
Commit
8d34680
โ€ข
1 Parent(s): ce4e090

Add application files

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -156,7 +156,7 @@ pyminizip.uncompress(
156
  )
157
 
158
  df = pq.read_table("irasuto_items_20210224.parquet").to_pandas()
159
- sentence_vectors = np.array(df["sentence_vector"])
160
 
161
  st.text("่ชฌๆ˜Žๆ–‡ใฎๆ„ๅ‘ณใŒ่ฟ‘ใ„ใ€Œใ„ใ‚‰ใ™ใจใ‚„ใ€็”ปๅƒใ‚’ๆคœ็ดขใ—ใพใ™ใ€‚")
162
  query_input = st.text_input(label="่ชฌๆ˜Žๆ–‡", value="")
 
156
  )
157
 
158
  df = pq.read_table("irasuto_items_20210224.parquet").to_pandas()
159
+ sentence_vectors = np.stack(df["sentence_vector"])
160
 
161
  st.text("่ชฌๆ˜Žๆ–‡ใฎๆ„ๅ‘ณใŒ่ฟ‘ใ„ใ€Œใ„ใ‚‰ใ™ใจใ‚„ใ€็”ปๅƒใ‚’ๆคœ็ดขใ—ใพใ™ใ€‚")
162
  query_input = st.text_input(label="่ชฌๆ˜Žๆ–‡", value="")