File size: 320 Bytes
7eae2ec
 
1bbc870
 
 
 
 
 
 
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.")
_, col2, col3, _ = st.columns(4)
with col2:
    tw_user = st.text_input("Twitter handle", "huggingface")
with col3:
    sample = st.number_input("Maximum number of tweets to use", 1, 100, 200)