Spaces:
Sleeping
Sleeping
Commit
Β·
04da388
1
Parent(s):
49ca3a6
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
from streamlit_option_menu import option_menu
|
5 |
from streamlit_chat import message
|
6 |
|
7 |
-
st.markdown("<h1 style='text-align: center';>
|
8 |
st.markdown("---")
|
9 |
|
10 |
openai.api_key = st.secrets["API"]
|
@@ -16,7 +16,7 @@ def generate_response(prompt):
|
|
16 |
model="gpt-3.5-turbo",
|
17 |
|
18 |
messages=[
|
19 |
-
{"role": "user", "content": f"
|
20 |
]
|
21 |
)
|
22 |
|
|
|
4 |
from streamlit_option_menu import option_menu
|
5 |
from streamlit_chat import message
|
6 |
|
7 |
+
st.markdown("<h1 style='text-align: center';>Funny.AI π</h1>", unsafe_allow_html=True)
|
8 |
st.markdown("---")
|
9 |
|
10 |
openai.api_key = st.secrets["API"]
|
|
|
16 |
model="gpt-3.5-turbo",
|
17 |
|
18 |
messages=[
|
19 |
+
{"role": "user", "content": f"Imitate as Kapil Sharma, don't reveal your identity if asked and try to give answer in hinglish sometimes: {prompt}"}
|
20 |
]
|
21 |
)
|
22 |
|