Spaces:
Sleeping
Sleeping
updated
Browse files
app.py
CHANGED
|
@@ -24,7 +24,6 @@ from datasets import load_dataset, get_dataset_config_info, Dataset
|
|
| 24 |
from PIL import Image
|
| 25 |
import time
|
| 26 |
import uuid
|
| 27 |
-
|
| 28 |
# Page config with beautiful theme
|
| 29 |
st.set_page_config(
|
| 30 |
page_title="VayuChat - AI Air Quality Assistant",
|
|
@@ -88,26 +87,13 @@ st.markdown("""
|
|
| 88 |
background-color: #f8f9fa;
|
| 89 |
border-radius: 10px;
|
| 90 |
border: 1px solid #dee2e6;
|
| 91 |
-
}
|
| 92 |
|
| 93 |
.quick-prompt-btn {
|
| 94 |
-
background-color: #0d6efd;
|
| 95 |
-
color: white;
|
| 96 |
-
border: none;
|
| 97 |
-
padding: 8px 16px;
|
| 98 |
-
border-radius: 20px;
|
| 99 |
-
font-size: 0.9rem;
|
| 100 |
cursor: pointer;
|
| 101 |
transition: all 0.2s ease;
|
| 102 |
white-space: nowrap;
|
| 103 |
}
|
| 104 |
|
| 105 |
-
.quick-prompt-btn:hover {
|
| 106 |
-
background-color: #0b5ed7;
|
| 107 |
-
transform: translateY(-2px);
|
| 108 |
-
}
|
| 109 |
-
|
| 110 |
-
/* User message styling */
|
| 111 |
.user-message {
|
| 112 |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 113 |
color: white;
|
|
@@ -122,6 +108,8 @@ st.markdown("""
|
|
| 122 |
}
|
| 123 |
|
| 124 |
.user-info {
|
|
|
|
|
|
|
| 125 |
font-size: 0.8rem;
|
| 126 |
opacity: 0.8;
|
| 127 |
margin-bottom: 5px;
|
|
|
|
| 24 |
from PIL import Image
|
| 25 |
import time
|
| 26 |
import uuid
|
|
|
|
| 27 |
# Page config with beautiful theme
|
| 28 |
st.set_page_config(
|
| 29 |
page_title="VayuChat - AI Air Quality Assistant",
|
|
|
|
| 87 |
background-color: #f8f9fa;
|
| 88 |
border-radius: 10px;
|
| 89 |
border: 1px solid #dee2e6;
|
|
|
|
| 90 |
|
| 91 |
.quick-prompt-btn {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
cursor: pointer;
|
| 93 |
transition: all 0.2s ease;
|
| 94 |
white-space: nowrap;
|
| 95 |
}
|
| 96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
.user-message {
|
| 98 |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 99 |
color: white;
|
|
|
|
| 108 |
}
|
| 109 |
|
| 110 |
.user-info {
|
| 111 |
+
# HuggingFace feedback upload removed for deployment compatibility
|
| 112 |
+
st.info("Feedback saved locally (not uploaded).")
|
| 113 |
font-size: 0.8rem;
|
| 114 |
opacity: 0.8;
|
| 115 |
margin-bottom: 5px;
|