Spaces:
Running
Running
Add Contributor credit
Browse files
README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
title: Prem Chat
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.33.0
|
| 8 |
app_file: app.py
|
|
@@ -10,4 +10,4 @@ pinned: false
|
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Prem Chat Ui Dev
|
| 3 |
+
emoji: 🏃
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.33.0
|
| 8 |
app_file: app.py
|
|
|
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
+
Avatar size Contributor: ★31 >>538
|
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import streamlit as st
|
|
| 3 |
from streamlit.components.v1 import html
|
| 4 |
from streamlit_extras.stylable_container import stylable_container
|
| 5 |
import re
|
|
|
|
| 6 |
import urllib.parse
|
| 7 |
|
| 8 |
st.title("Prem Chat UI")
|
|
@@ -368,6 +369,7 @@ st.markdown(f'<style>[data-testid="stChatMessageContent"] .st-emotion-cache-cnbv
|
|
| 368 |
|
| 369 |
# Change icon size
|
| 370 |
# (CSS element names may be subject to change.)
|
|
|
|
| 371 |
AVATAR_SIZE_STYLE = f"""
|
| 372 |
<style>
|
| 373 |
[data-testid="chatAvatarIcon-user"] {{
|
|
|
|
| 3 |
from streamlit.components.v1 import html
|
| 4 |
from streamlit_extras.stylable_container import stylable_container
|
| 5 |
import re
|
| 6 |
+
import time
|
| 7 |
import urllib.parse
|
| 8 |
|
| 9 |
st.title("Prem Chat UI")
|
|
|
|
| 369 |
|
| 370 |
# Change icon size
|
| 371 |
# (CSS element names may be subject to change.)
|
| 372 |
+
# (Contributor: ★31 >>538)
|
| 373 |
AVATAR_SIZE_STYLE = f"""
|
| 374 |
<style>
|
| 375 |
[data-testid="chatAvatarIcon-user"] {{
|