Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,25 +19,9 @@ import sentencepiece # Required by SpeechT5Processor for tokenization
|
|
| 19 |
# Streamlit application title and input
|
| 20 |
##########################################
|
| 21 |
|
| 22 |
-
|
| 23 |
-
st.
|
| 24 |
-
|
| 25 |
-
unsafe_allow_html=True
|
| 26 |
-
) # Set deep blue title
|
| 27 |
-
|
| 28 |
-
# Display a gentle, warm subtitle below the title
|
| 29 |
-
st.markdown(
|
| 30 |
-
"<h3 style='text-align: center; color: #5D6D7E; font-style: italic;'>I'm listening to you, my friend~</h3>",
|
| 31 |
-
unsafe_allow_html=True
|
| 32 |
-
) # Set a friendly subtitle
|
| 33 |
-
|
| 34 |
-
# Add a text area for user input with placeholder and tooltip
|
| 35 |
-
text = st.text_area(
|
| 36 |
-
"Enter your comment",
|
| 37 |
-
placeholder="Type something here...",
|
| 38 |
-
height=100,
|
| 39 |
-
help="Write a comment you would like us to respond to!" # Provide tooltip
|
| 40 |
-
) # Create text input field
|
| 41 |
|
| 42 |
|
| 43 |
##########################################
|
|
|
|
| 19 |
# Streamlit application title and input
|
| 20 |
##########################################
|
| 21 |
|
| 22 |
+
st.title("🚀 Just Comment") # Application title displayed to users
|
| 23 |
+
st.write("I'm listening to you, my friend~") # Application description for users
|
| 24 |
+
text = st.text_area("Enter your comment", "") # Text area for user input of comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
##########################################
|