File size: 314 Bytes
7eae2ec
 
1bbc870
 
0a699f8
 
1bbc870
0a699f8
 
1
2
3
4
5
6
7
8
9
import streamlit as st
  
st.title("Tweet-SNEst")
st.write("Visualize tweets embeddings in 2D using colors for topics labels.")
col1, col2 = st.columns(2)
with col1:
    tw_user = st.text_input("Twitter handle", "huggingface")
with col2:
    sample = st.number_input("Maximum number of tweets to use", 1, 300, 100)