Lukeetah commited on
Commit
3c093d0
·
verified ·
1 Parent(s): f3994fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -13
app.py CHANGED
@@ -251,20 +251,21 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft(), title="🕸️ Web Scrape
251
  )
252
 
253
  gr.HTML("""
254
- <div class="app-header">
255
- <p style="margin-top: 1rem; color: var(--text-secondary);">
256
- ℹ️ Información de uso
257
-
258
- <strong>URLs flexibles:</strong> Intenta normalizar URLs incompletas (e.g., añadiendo https://).
259
- <strong>Detección de contenido:</strong> Intenta identificar si la URL es una imagen o una página web.
260
- <strong>Optimizado para Copilot:</strong> Los archivos generados buscan compatibilidad.</li>
261
- <strong>Formatos:</strong> PDF (preserva estructura visual si es texto, o imagen directa) y TXT (texto plano).</li>
262
- <strong>Codificación:</strong> UTF-8 para TXT. Soporte Unicode para PDF con fuentes DejaVu (si están disponibles en el servidor) o Arial.
263
- <strong>Fuente PDF:</strong> Si `DejaVuSansCondensed.ttf` está en el directorio del servidor o en una carpeta `fonts`, se usará para mejor soporte Unicode en PDFs.</li>
264
 
265
- Desarrollado para facilitar la integración con herramientas de IA.
266
- </p>
267
- </div>
 
 
 
 
 
 
 
 
 
268
  """)
269
 
270
  # Configurar eventos
 
251
  )
252
 
253
  gr.HTML("""
254
+ <div class="app-header" style="margin-top: 1rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6;">
255
+ <div style="margin-bottom: 0.5rem;"><strong>ℹ️ Información de uso</strong></div>
 
 
 
 
 
 
 
 
256
 
257
+ <div style="padding-left: 1rem;">
258
+ <div><strong>URLs flexibles:</strong> Intenta normalizar URLs incompletas (e.g., añadiendo <code>https://</code>).</div>
259
+ <div><strong>Detección de contenido:</strong> Identifica si la URL es una imagen o una página web.</div>
260
+ <div><strong>Optimizado para Copilot:</strong> Los archivos generados buscan compatibilidad.</div>
261
+ <div><strong>Formatos:</strong> PDF (preserva estructura visual si es texto o imagen directa) y TXT (texto plano).</div>
262
+ <div><strong>Codificación:</strong> UTF-8 para TXT. Soporte Unicode para PDF con fuentes DejaVu (si están disponibles en el servidor) o Arial.</div>
263
+ <div><strong>Fuente PDF:</strong> Si el archivo <code>DejaVuSansCondensed.ttf</code> está en el servidor o en una carpeta <code>fonts</code>, se usará para mejor soporte Unicode.</div>
264
+ </div>
265
+
266
+ <div style="margin-top: 0.5rem;">
267
+ Desarrollado para facilitar la integración con herramientas de IA.
268
+ </div>
269
  """)
270
 
271
  # Configurar eventos