Spaces:
Sleeping
Sleeping
Initial Draft
Browse files
app.py
CHANGED
@@ -1,12 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
################################
|
4 |
-
### Variable Initialization ####
|
5 |
-
################################
|
6 |
-
|
7 |
-
if 'key' not in st.session_state:
|
8 |
-
sentiment_analysis()
|
9 |
-
|
10 |
################################
|
11 |
####### Generic functions ######
|
12 |
################################
|
@@ -93,7 +86,7 @@ with col3:
|
|
93 |
llm_button = st.button("Generate Data",on_click=button_clicked)
|
94 |
|
95 |
# Display Input in single Layout
|
96 |
-
llm_input_text = st.text_area(label="Enter your message",key="input_text", height=400)
|
97 |
|
98 |
# Display Output in single Layout
|
99 |
llm_output_text = st.text_area("Generate Output",key="output_text", height=400)
|
|
|
1 |
import streamlit as st
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
################################
|
4 |
####### Generic functions ######
|
5 |
################################
|
|
|
86 |
llm_button = st.button("Generate Data",on_click=button_clicked)
|
87 |
|
88 |
# Display Input in single Layout
|
89 |
+
llm_input_text = st.text_area(label="Enter your message",value="I've been waiting for a HuggingFace course my whole life.",key="input_text", height=400)
|
90 |
|
91 |
# Display Output in single Layout
|
92 |
llm_output_text = st.text_area("Generate Output",key="output_text", height=400)
|