Update app.py
Browse files
app.py
CHANGED
|
@@ -967,41 +967,33 @@ def main():
|
|
| 967 |
users = recommender.get_all_users()
|
| 968 |
recommender.close()
|
| 969 |
|
| 970 |
-
|
| 971 |
-
|
| 972 |
-
|
| 973 |
-
|
| 974 |
-
|
| 975 |
-
|
| 976 |
-
|
| 977 |
-
|
| 978 |
-
|
| 979 |
-
|
| 980 |
-
|
| 981 |
-
|
| 982 |
-
|
| 983 |
-
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
|
| 987 |
-
|
| 988 |
-
|
| 989 |
-
|
| 990 |
-
|
| 991 |
-
|
| 992 |
-
|
| 993 |
-
|
| 994 |
-
|
| 995 |
-
|
| 996 |
-
|
| 997 |
-
neutral_400="#94a3b8",
|
| 998 |
-
neutral_500="#64748b",
|
| 999 |
-
neutral_600="#475569",
|
| 1000 |
-
neutral_700="#334155",
|
| 1001 |
-
neutral_800="#1e293b",
|
| 1002 |
-
neutral_900="#0f172a",
|
| 1003 |
-
neutral_950="#020617",
|
| 1004 |
-
), css=custom_css) as iface:
|
| 1005 |
gr.Markdown("""
|
| 1006 |
# 🤝 Let's Talk - Question Recommender
|
| 1007 |
Find questions that two users might be interested in discussing together based on their common interests.
|
|
|
|
| 967 |
users = recommender.get_all_users()
|
| 968 |
recommender.close()
|
| 969 |
|
| 970 |
+
theme = gr.themes.Base().set(
|
| 971 |
+
body_background_fill="#f9fafc",
|
| 972 |
+
block_background_fill="#ffffff",
|
| 973 |
+
block_border_width="1px",
|
| 974 |
+
block_border_color="#219ebc",
|
| 975 |
+
block_title_text_color="#023047",
|
| 976 |
+
block_label_text_color="#333333",
|
| 977 |
+
input_background_fill="#ffffff",
|
| 978 |
+
input_border_color="#219ebc",
|
| 979 |
+
input_border_width="1px",
|
| 980 |
+
button_primary_background_fill="#ffb703",
|
| 981 |
+
button_primary_background_fill_dark="#fb8500",
|
| 982 |
+
button_primary_text_color="#ffffff",
|
| 983 |
+
button_secondary_background_fill="#219ebc",
|
| 984 |
+
button_secondary_text_color="#ffffff",
|
| 985 |
+
background_fill_primary="#ffffff",
|
| 986 |
+
background_fill_secondary="#f9fafc",
|
| 987 |
+
text_color="#333333",
|
| 988 |
+
color_accent_soft="#8ecae6",
|
| 989 |
+
color_accent="#219ebc",
|
| 990 |
+
error_background_fill="#fca5a5",
|
| 991 |
+
error_text_color="#dc2626",
|
| 992 |
+
success_background_fill="#4caf50",
|
| 993 |
+
success_text_color="#ffffff"
|
| 994 |
+
)
|
| 995 |
+
|
| 996 |
+
with gr.Blocks(title="Let's Talk - Question Recommender", theme=theme, css=custom_css) as iface:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 997 |
gr.Markdown("""
|
| 998 |
# 🤝 Let's Talk - Question Recommender
|
| 999 |
Find questions that two users might be interested in discussing together based on their common interests.
|