Nymbo commited on
Commit
0edd4c9
·
verified ·
1 Parent(s): b003192

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +1 -8
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
- /* Login section styling */
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;