toursingapore's picture
Update app.py
7b9da80 verified
raw
history blame
414 Bytes
import streamlit as st
from transformers import pipeline
def main():
st.title("Hello Streamlit App")
st.write("Welcome to the Hello Streamlit app!")
name = st.text_input("Enter your name:")
if st.button("Greet"):
st.write(f"Hello, {name}! Nice to meet you!")
pipe = pipeline("text-classification")
pipe("This restaurant is awesome")
if __name__ == "__main__":
main()