From 1b5eefc35ed02b6ee6526322f8cd01aaa9482d10 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 10:33:14 -0700 Subject: [PATCH 01/45] Update requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index d93688e1f74a..952752da548b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ altair pandas streamlit openai +gTTS From 780c58c16f2bf5b3df822d878a3beff095f7743f Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 10:33:33 -0700 Subject: [PATCH 02/45] Update streamlit_app.py --- streamlit_app.py | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index 946cadd7eadd..1dd584c9d229 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -4,17 +4,21 @@ import pandas as pd import streamlit as st import openai +from gtts import gTTS +import base64 + +st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") + +st.divider() -""" -# Teen Talk -You life is very precious, you can make a difference in the world. I am here for you =) -""" # Setting the API key openai.api_key = st.secrets["API_KEY"] -user_input = st.text_input("What bothers you?", "say what bothers you") -if st.button("Help!", type="primary"): - prompt = "Check the sentiment of the following phrase and if its negative then convert it to a positive phrase, start with a very supportive and understanding tone\n\nDesired format:\nOriginal Phrase:\nSentiment:\nConverted Phrase:\n\nText:'"+user_input+"'" +user_input = st.text_input("You life is very precious, you can make a difference in the world. I am here for you....", "please type what your concerns here, I am here to help.") + +if st.button("Submit", type="primary"): + #prompt = "Check the sentiment of the following phrase and if its negative then convert it to a positive phrase, start with a very supportive and understanding tone\n\nDesired format:Original Phrase:,Sentiment:,Converted Phrase:\n\nText:'"+user_input+"'" + prompt = "You are a student councelor. Check the sentiment of the following phrase and if its negative then advise the student in an encouraging tone. Start with a very supportive and understanding tone. Just say the advise and no additional information\n\nText:'"+user_input+"'" # Create a chatbot using ChatCompletion.create() function completion = openai.ChatCompletion.create( # Use GPT 3.5 as the LLM @@ -26,8 +30,12 @@ ] ) # Print the returned output from the LLM model - print(completion.choices[0].message) - st.write(completion.choices[0].message) + # print(completion.choices[0].message) + st.write(completion.choices[0].message["content"]) + + tts = gTTS(completion.choices[0].message["content"], lang="en", slow=False) + tts.save("output.mp3") + st.audio("output.mp3", format='audio/mp3') # Define the user prompt message #prompt = "Say the following sentence in a very positive and constructive way, start with a very supportive and understanding tone:'you look ugly and stupid'" From 4b639a2e5327115e29dd4c0f16e353c17fa32230 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 11:22:43 -0700 Subject: [PATCH 03/45] test --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 1dd584c9d229..5889239f1042 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -8,7 +8,7 @@ import base64 st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") - +st.title("helloworld") st.divider() # Setting the API key From df7815f1f20b705669b21231a4b70974faca608c Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 11:26:19 -0700 Subject: [PATCH 04/45] deleting test --- streamlit_app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 5889239f1042..e450ecd97cbb 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -8,7 +8,6 @@ import base64 st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") -st.title("helloworld") st.divider() # Setting the API key From 286b7721cba1a4175559b8d0cd11311bc8d855ff Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 13:08:44 -0700 Subject: [PATCH 05/45] Update to the logo and testing to see if that works, also changing the color of the main text and testing that as well. --- streamlit_app.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/streamlit_app.py b/streamlit_app.py index e450ecd97cbb..11e526e7c94b 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -8,6 +8,28 @@ import base64 st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") + +# Add custom CSS for branding +st.write( + """ + + """ +) + +# Add your logo using HTML +st.markdown('', unsafe_allow_html=True) + st.divider() # Setting the API key From d95cf3137207d961396abe5ff038fed59ee7e653 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 13:13:15 -0700 Subject: [PATCH 06/45] fixing formating issue --- streamlit_app.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index 11e526e7c94b..5fba42d17323 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -6,13 +6,12 @@ import openai from gtts import gTTS import base64 - -st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") - # Add custom CSS for branding st.write( """ """ ) -# Add your logo using HTML above the title -st.markdown('', unsafe_allow_html=True) +# Display the logo using st.image +logo_image = "teentalklogo.png" # Change to the local path of your logo image +st.image(logo_image, use_container_width=True) st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") st.divider() From 8c7f3865fb1b06bb656ae6b3497d4cd491894ea2 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 13:30:16 -0700 Subject: [PATCH 08/45] massive update with ui and look and feel updates, testing right now --- streamlit_app.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index 81494179659c..9fa6ed29a279 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -6,24 +6,8 @@ import openai from gtts import gTTS import base64 -# Add custom CSS for branding -st.write( - """ - - """ -) -# Display the logo using st.image -logo_image = "teentalklogo.png" # Change to the local path of your logo image -st.image(logo_image, use_container_width=True) +#add in branding above title st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") st.divider() From 4552191d6c163ce552f31b35ff573cf45334873c Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 13:45:23 -0700 Subject: [PATCH 09/45] Update streamlit_app.py --- streamlit_app.py | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index 9fa6ed29a279..138c66bbd301 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -1,3 +1,14 @@ +st.markdown(""" + +""", unsafe_allow_html=True) + from collections import namedtuple import altair as alt import math @@ -7,16 +18,13 @@ from gtts import gTTS import base64 -#add in branding above title - -st.title("Teen Talk - Your life and happiness in your hands! :sunglasses:") +st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", use_column_width=True) +st.title("Teen Talk - Your life and happiness in your hands! :smile:") st.divider() - # Setting the API key openai.api_key = st.secrets["API_KEY"] -user_input = st.text_input("You life is very precious, you can make a difference in the world. I am here for you....", "please type what your concerns here, I am here to help.") - +user_input = st.text_input("Your life is very precious, you can make a difference in the world. I am here for you....", placeholder="please type what your concerns here, I am here to help.") if st.button("Submit", type="primary"): #prompt = "Check the sentiment of the following phrase and if its negative then convert it to a positive phrase, start with a very supportive and understanding tone\n\nDesired format:Original Phrase:,Sentiment:,Converted Phrase:\n\nText:'"+user_input+"'" prompt = "You are a student councelor. Check the sentiment of the following phrase and if its negative then advise the student in an encouraging tone. Start with a very supportive and understanding tone. Just say the advise and no additional information\n\nText:'"+user_input+"'" From 5b942bb064fb0f45050a2967cf427dbe6b526199 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 13:46:17 -0700 Subject: [PATCH 10/45] fixing chatgpt error --- streamlit_app.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index 138c66bbd301..9bbb6eae3359 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -1,3 +1,13 @@ + +from collections import namedtuple +import altair as alt +import math +import pandas as pd +import streamlit as st +import openai +from gtts import gTTS +import base64 + st.markdown(""" """, unsafe_allow_html=True) -from collections import namedtuple -import altair as alt -import math -import pandas as pd -import streamlit as st -import openai -from gtts import gTTS -import base64 - st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", use_column_width=True) st.title("Teen Talk - Your life and happiness in your hands! :smile:") st.divider() From f90cfbbd84d6774747eb3162ad5596e520909f5c Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 13:50:04 -0700 Subject: [PATCH 11/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 9bbb6eae3359..983953f06188 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -19,7 +19,7 @@ """, unsafe_allow_html=True) -st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", use_column_width=True) +st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) st.title("Teen Talk - Your life and happiness in your hands! :smile:") st.divider() # Setting the API key From 554f72ee12d749baf1c857954255b32ada5adaa5 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 13:51:40 -0700 Subject: [PATCH 12/45] Update streamlit_app.py --- streamlit_app.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 983953f06188..6517fe9b760a 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -8,10 +8,20 @@ from gtts import gTTS import base64 -st.markdown(""" + st.markdown(""" + """, unsafe_allow_html=True) st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) @@ -56,6 +65,7 @@ tts = gTTS(completion.choices[0].message["content"], lang="en", slow=False) tts.save("output.mp3") st.audio("output.mp3", format='audio/mp3') +st. # Define the user prompt message #prompt = "Say the following sentence in a very positive and constructive way, start with a very supportive and understanding tone:'you look ugly and stupid'" From 5250a99fc3de527616627079f334c540feaec21f Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 14:05:23 -0700 Subject: [PATCH 17/45] Update streamlit_app.py --- streamlit_app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 07f5849898be..ab320b110720 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -65,7 +65,6 @@ tts = gTTS(completion.choices[0].message["content"], lang="en", slow=False) tts.save("output.mp3") st.audio("output.mp3", format='audio/mp3') -st. # Define the user prompt message #prompt = "Say the following sentence in a very positive and constructive way, start with a very supportive and understanding tone:'you look ugly and stupid'" From e2ef750e5dbf13a4a5f0aa4f25b1a65542cc5ca3 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 14:08:11 -0700 Subject: [PATCH 18/45] Update streamlit_app.py --- streamlit_app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index ab320b110720..0fe55702a522 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -35,7 +35,6 @@ } - """, unsafe_allow_html=True) st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) @@ -65,6 +64,10 @@ tts = gTTS(completion.choices[0].message["content"], lang="en", slow=False) tts.save("output.mp3") st.audio("output.mp3", format='audio/mp3') +st.markdown(""" +**Disclaimer:** This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. +""") + # Define the user prompt message #prompt = "Say the following sentence in a very positive and constructive way, start with a very supportive and understanding tone:'you look ugly and stupid'" From a14920b7d08953246a716160422641d7f44f5a65 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 14:12:14 -0700 Subject: [PATCH 19/45] Update streamlit_app.py --- streamlit_app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/streamlit_app.py b/streamlit_app.py index 0fe55702a522..a3ea474dcdf7 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -39,6 +39,7 @@ st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) st.title("Teen Talk - Your life and happiness in your hands! :smile:") +st.write("Made by Karthick Arun") st.divider() # Setting the API key openai.api_key = st.secrets["API_KEY"] From d8fb7994e3798b53eea5a31fd826c87918d09105 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 14:20:59 -0700 Subject: [PATCH 20/45] Create config.toml --- .streamlit/config.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .streamlit/config.toml diff --git a/.streamlit/config.toml b/.streamlit/config.toml new file mode 100644 index 000000000000..92031c180759 --- /dev/null +++ b/.streamlit/config.toml @@ -0,0 +1,3 @@ +[browser] +title = "Teen Talk" +favicon = "https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png" From a069a8269c051428c41a2f663c98277c380cdb4a Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 14:23:36 -0700 Subject: [PATCH 21/45] Update streamlit_app.py --- streamlit_app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index a3ea474dcdf7..9e26910388e7 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -1,4 +1,3 @@ - from collections import namedtuple import altair as alt import math @@ -9,6 +8,10 @@ import base64 st.markdown(""" + + + + From cdd1122661967d9ff09c43cd5a65b6050aec61c8 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:09:41 -0700 Subject: [PATCH 31/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 430edd89caea..4c92a8839ad0 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -64,7 +64,7 @@ tts.save("output.mp3") st.audio("output.mp3", format='audio/mp3') st.markdown(""" -**Disclaimer:** This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. +##### **Disclaimer:** ######This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. """) From 81010e935ec157733b8593052896ecefe12eb03f Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:10:12 -0700 Subject: [PATCH 32/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 4c92a8839ad0..48a0b88cfc54 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -64,7 +64,7 @@ tts.save("output.mp3") st.audio("output.mp3", format='audio/mp3') st.markdown(""" -##### **Disclaimer:** ######This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. +##### **Disclaimer:** ###### This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. """) From 9b09150c781cf390401b34bffa0e78c033191801 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:11:03 -0700 Subject: [PATCH 33/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 48a0b88cfc54..430edd89caea 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -64,7 +64,7 @@ tts.save("output.mp3") st.audio("output.mp3", format='audio/mp3') st.markdown(""" -##### **Disclaimer:** ###### This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. +**Disclaimer:** This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. """) From f32b31bb4ab4d59e29ff3b24ce9c586d523f2b66 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:13:09 -0700 Subject: [PATCH 34/45] Update streamlit_app.py --- streamlit_app.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 430edd89caea..66ca06ec694d 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -64,8 +64,17 @@ tts.save("output.mp3") st.audio("output.mp3", format='audio/mp3') st.markdown(""" + +
+ **Disclaimer:** This web app is powered by experimental AI technology. It is not a substitute for professional mental health advice or treatment. It is not licensed, nor should it be used for addressing serious mental health issues related to suicide or other severe diagnoses. If you or someone you know is in crisis or needs immediate help, please dial the international crisis helpline at **988** and consult with a trusted adult or mental health professional. -""") + +
+""", unsafe_allow_html=True) # Define the user prompt message From edd19b39396dc6e5efd1ded154b82515a90994ed Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:14:59 -0700 Subject: [PATCH 35/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 66ca06ec694d..1f1232a23045 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -37,7 +37,7 @@ st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) st.title("TeenTalk - Your life and happiness in your hands! :smile:") -st.write("Made by Karthick Arun") +st.markdown("""#### Made by Karthick Arun""") st.divider() # Setting the API key openai.api_key = st.secrets["API_KEY"] From e5fb25c54ff2d475ea95d69574861c5f42a5a57e Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:21:08 -0700 Subject: [PATCH 36/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 1f1232a23045..aef0403fa4d6 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -36,7 +36,7 @@ """, unsafe_allow_html=True) st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) -st.title("TeenTalk - Your life and happiness in your hands! :smile:") +st.title("TeenTalk") st.markdown("""#### Made by Karthick Arun""") st.divider() # Setting the API key From dc4bfad31df1823877eeb256cc21ea4876d4638d Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:23:33 -0700 Subject: [PATCH 37/45] Update streamlit_app.py --- streamlit_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index aef0403fa4d6..a7eafbba2a28 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -36,8 +36,8 @@ """, unsafe_allow_html=True) st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) -st.title("TeenTalk") -st.markdown("""#### Made by Karthick Arun""") +st.markdown("""# TeenTalk""") +st.markdown("""## Made by ### Karthick Arun""") st.divider() # Setting the API key openai.api_key = st.secrets["API_KEY"] From b98418544e06c4b8ee69643592be0317560d71a9 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:24:13 -0700 Subject: [PATCH 38/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index a7eafbba2a28..2aff88ada431 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -37,7 +37,7 @@ st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) st.markdown("""# TeenTalk""") -st.markdown("""## Made by ### Karthick Arun""") +st.markdown("""## Made with ♥️ in Arizona by Karthick Arun""") st.divider() # Setting the API key openai.api_key = st.secrets["API_KEY"] From 47512870f6052a8045b9735751db9cb0ff5a66a2 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:24:37 -0700 Subject: [PATCH 39/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 2aff88ada431..7da12bdbbacd 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -37,7 +37,7 @@ st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) st.markdown("""# TeenTalk""") -st.markdown("""## Made with ♥️ in Arizona by Karthick Arun""") +st.markdown("""#### Made with ♥️ in Arizona by Karthick Arun""") st.divider() # Setting the API key openai.api_key = st.secrets["API_KEY"] From e74706a6ce60a7725f9ee612263869983d22ee87 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:26:56 -0700 Subject: [PATCH 40/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 7da12bdbbacd..00df3d066630 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -9,7 +9,7 @@ st.markdown(""" """, unsafe_allow_html=True) From 59e94068b551c08158a478b1a2781d617d83726e Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:30:16 -0700 Subject: [PATCH 42/45] Update streamlit_app.py --- streamlit_app.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index bf7041366be9..b42a41bc4a28 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -31,17 +31,11 @@ transform: translateX(-50%); font-size: 5px; } - /* Style the text box border */ - div.stTextInput > div > div > input { - border: 1px solid #8000ff !important; - } - - /* Style the submit button */ - button.stButton>div>div>div { + /* Style the submit button */ + .stButton > button { background-color: #8000ff !important; color: white !important; } - """, unsafe_allow_html=True) From d789075de5ce57d9d7a705d14582b0fe0333c8ff Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:32:18 -0700 Subject: [PATCH 43/45] Update streamlit_app.py --- streamlit_app.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/streamlit_app.py b/streamlit_app.py index b42a41bc4a28..ee9204e31b59 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -36,6 +36,15 @@ background-color: #8000ff !important; color: white !important; } + /* Style the text box border */ + div.stTextInput > div > div > input { + border: 1px solid #8000ff !important; + } + + /* Style the submit button border */ + .stButton > button { + border: 1px solid #8000ff !important; + } """, unsafe_allow_html=True) From 73af8ba6a67697c92badc277be5d22e6022a2b70 Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sat, 7 Oct 2023 15:40:15 -0700 Subject: [PATCH 44/45] Update streamlit_app.py --- streamlit_app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index ee9204e31b59..90ab52428541 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -36,10 +36,11 @@ background-color: #8000ff !important; color: white !important; } - /* Style the text box border */ - div.stTextInput > div > div > input { + /* Style the text box border */ + input[type="text"] { border: 1px solid #8000ff !important; } + } /* Style the submit button border */ .stButton > button { From 13288413494f51ba2f20dbe6541523a9a96bb31c Mon Sep 17 00:00:00 2001 From: Karthick Arun Date: Sun, 8 Oct 2023 09:58:18 -0700 Subject: [PATCH 45/45] Update streamlit_app.py --- streamlit_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_app.py b/streamlit_app.py index 90ab52428541..60409cbde34a 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -51,7 +51,7 @@ st.image("https://e2009.s3.us-west-1.amazonaws.com/Untitled+Oct+04.png", width=200) st.markdown("""# TeenTalk""") -st.markdown("""#### Made with ♥️ in Arizona by Karthick Arun""") +st.markdown("""#### Made by Karthick Arun""") st.divider() # Setting the API key openai.api_key = st.secrets["API_KEY"]