Spaces:
Build error
Build error
msIntui commited on
Commit ·
06070a9
1
Parent(s): 9847531
Add UI assets and update gitignore
Browse files- .gitignore +7 -0
- assets/AiAgent.png +0 -0
- assets/intuigence.png +0 -0
- assets/llm.png +0 -0
- assets/style.css +54 -0
- assets/user.png +0 -0
- gradioChatApp.py +1 -1
.gitignore
CHANGED
|
@@ -6,6 +6,13 @@ samples/
|
|
| 6 |
*.png
|
| 7 |
*.zip
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
# Model files
|
| 10 |
*.pth
|
| 11 |
*.pt
|
|
|
|
| 6 |
*.png
|
| 7 |
*.zip
|
| 8 |
|
| 9 |
+
# Exceptions - Track these files
|
| 10 |
+
!assets/AiAgent.png
|
| 11 |
+
!assets/intuigence.png
|
| 12 |
+
!assets/llm.png
|
| 13 |
+
!assets/user.png
|
| 14 |
+
!assets/style.css
|
| 15 |
+
|
| 16 |
# Model files
|
| 17 |
*.pth
|
| 18 |
*.pt
|
assets/AiAgent.png
ADDED
|
assets/intuigence.png
ADDED
|
assets/llm.png
ADDED
|
assets/style.css
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.gr-container {
|
| 2 |
+
margin-top: 100px;
|
| 3 |
+
}
|
| 4 |
+
.chatbox {
|
| 5 |
+
max-height: 500px;
|
| 6 |
+
overflow-y: auto;
|
| 7 |
+
resize: both;
|
| 8 |
+
}
|
| 9 |
+
.chat-message {
|
| 10 |
+
display: flex;
|
| 11 |
+
justify-content: space-between;
|
| 12 |
+
margin-bottom: 15px;
|
| 13 |
+
}
|
| 14 |
+
.agent {
|
| 15 |
+
justify-content: flex-start;
|
| 16 |
+
}
|
| 17 |
+
.llm {
|
| 18 |
+
justify-content: flex-end;
|
| 19 |
+
}
|
| 20 |
+
.speech-bubble {
|
| 21 |
+
border-radius: 5px;
|
| 22 |
+
padding: 2px;
|
| 23 |
+
position: relative;
|
| 24 |
+
display: inline-block;
|
| 25 |
+
max-width: 100%;
|
| 26 |
+
}
|
| 27 |
+
.agent-bubble {
|
| 28 |
+
background-color: #C3E0E5;
|
| 29 |
+
color: #000;
|
| 30 |
+
}
|
| 31 |
+
.llm-bubble {
|
| 32 |
+
background-color: #0C244A;
|
| 33 |
+
color: #FFF;
|
| 34 |
+
}
|
| 35 |
+
.avatar {
|
| 36 |
+
width: 50px;
|
| 37 |
+
height: 50px;
|
| 38 |
+
border-radius: 50%;
|
| 39 |
+
}
|
| 40 |
+
.agent .avatar {
|
| 41 |
+
margin-right: 10px;
|
| 42 |
+
}
|
| 43 |
+
.llm {
|
| 44 |
+
flex-direction: row-reverse;
|
| 45 |
+
}
|
| 46 |
+
.llm .avatar {
|
| 47 |
+
margin-left: 10px;
|
| 48 |
+
}
|
| 49 |
+
.timestamp {
|
| 50 |
+
font-size: 12px;
|
| 51 |
+
color: #888;
|
| 52 |
+
margin-top: 5px;
|
| 53 |
+
text-align: right;
|
| 54 |
+
}
|
assets/user.png
ADDED
|
gradioChatApp.py
CHANGED
|
@@ -659,7 +659,7 @@ def create_ui():
|
|
| 659 |
|
| 660 |
def main():
|
| 661 |
demo = create_ui()
|
| 662 |
-
#
|
| 663 |
demo.launch(server_name="0.0.0.0",
|
| 664 |
server_port=7860,
|
| 665 |
share=False)
|
|
|
|
| 659 |
|
| 660 |
def main():
|
| 661 |
demo = create_ui()
|
| 662 |
+
# Local development settings
|
| 663 |
demo.launch(server_name="0.0.0.0",
|
| 664 |
server_port=7860,
|
| 665 |
share=False)
|