Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1146,6 +1146,18 @@ def create_interface():
|
|
| 1146 |
logger.warning("styles.css file not found, using default styling")
|
| 1147 |
except Exception as e:
|
| 1148 |
logger.warning(f"Error reading styles.css: {e}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1149 |
|
| 1150 |
with gr.Blocks(
|
| 1151 |
title="Mimir",
|
|
|
|
| 1146 |
logger.warning("styles.css file not found, using default styling")
|
| 1147 |
except Exception as e:
|
| 1148 |
logger.warning(f"Error reading styles.css: {e}")
|
| 1149 |
+
|
| 1150 |
+
try:
|
| 1151 |
+
with open("styles.css", "r", encoding="utf-8") as css_file:
|
| 1152 |
+
custom_css = css_file.read()
|
| 1153 |
+
logger.info(f"CSS loaded successfully, length: {len(custom_css)} characters")
|
| 1154 |
+
# Check if dots CSS is actually in the file
|
| 1155 |
+
if ".thinking-indicator" in custom_css:
|
| 1156 |
+
logger.info("Dots CSS found in file")
|
| 1157 |
+
else:
|
| 1158 |
+
logger.warning("Dots CSS NOT found in file")
|
| 1159 |
+
except FileNotFoundError:
|
| 1160 |
+
logger.warning("styles.css file not found, using default styling")
|
| 1161 |
|
| 1162 |
with gr.Blocks(
|
| 1163 |
title="Mimir",
|