Update config.py
Browse files
config.py
CHANGED
|
@@ -251,13 +251,6 @@ except ImportError:
|
|
| 251 |
HTTPX_AVAILABLE = False
|
| 252 |
logger.warning("httpx not available - file upload functionality limited")
|
| 253 |
|
| 254 |
-
try:
|
| 255 |
-
import huggingface_hub
|
| 256 |
-
HF_HUB_AVAILABLE = True
|
| 257 |
-
except ImportError:
|
| 258 |
-
HF_HUB_AVAILABLE = False
|
| 259 |
-
logger.warning("huggingface_hub not available - login functionality disabled")
|
| 260 |
-
|
| 261 |
# Enhanced CSS Configuration with better media display
|
| 262 |
CUSTOM_CSS = """
|
| 263 |
/* Hide Gradio footer */
|
|
@@ -293,7 +286,7 @@ footer {
|
|
| 293 |
margin-bottom: 10px;
|
| 294 |
border-left: 4px solid #007bff;
|
| 295 |
}
|
| 296 |
-
/*
|
| 297 |
.login-section {
|
| 298 |
padding: 10px;
|
| 299 |
border-radius: 8px;
|
|
|
|
| 251 |
HTTPX_AVAILABLE = False
|
| 252 |
logger.warning("httpx not available - file upload functionality limited")
|
| 253 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 254 |
# Enhanced CSS Configuration with better media display
|
| 255 |
CUSTOM_CSS = """
|
| 256 |
/* Hide Gradio footer */
|
|
|
|
| 286 |
margin-bottom: 10px;
|
| 287 |
border-left: 4px solid #007bff;
|
| 288 |
}
|
| 289 |
+
/* Secret input section styling */
|
| 290 |
.login-section {
|
| 291 |
padding: 10px;
|
| 292 |
border-radius: 8px;
|