Spaces:
Sleeping
Sleeping
Update app.py
Browse files89 unmodified lines90919293949596979889 unmodified linesst.write(" ")st.write("Write or paste any number of document texts to analyse the emotion percentage with your document")user_input = st.text_area('Enter Text to Analyze')button = st.button("Analyze")if user_input and button:alpaca_prompt = """Below is a conversation between a human and an AI agent. write a response based on the input.### Instruction:89 unmodified lines9091929394959697989910010110210310410510689 unmodified linesst.write(" ")st.write("Write or paste any number of document texts to analyse the emotion percentage with your document")# Add button to fill in sample textif st.button("Use Sample Text"):user_input = "Once, in a small village nestled in the rolling hills of Tuscany, lived an elderly woman named Isabella. She had spent her entire life in this village, raising her children and caring for her garden, which was the most beautiful in the region. Her husband, Marco, had passed away many years ago, leaving her with a heart full of memories and a small, quaint house that overlooked the lush vineyards."else:user_input = st.text_area('Enter Text to Analyze')button = st.button("Analyze")if user_input and button:alpaca_prompt = """Below is a conversation between a human and an AI agent. write a response based on the input.### Instruction:
app.py+9-1