MrSimple07 commited on
Commit
497bfbe
·
1 Parent(s): 52249e8

removed rang + razmer

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -24,7 +24,6 @@ def create_chunks_display_html(chunk_info):
24
  <div style='background-color: {bg_color}; padding: 10px; margin: 5px 0; border-radius: 5px; border-left: 4px solid #007bff; color: black;'>
25
  <strong style='color: black;'>Документ:</strong> <span style='color: black;'>{chunk['document_id']}</span><br>
26
  <strong style='color: black;'>Раздел:</strong> <span style='color: black;'>{chunk.get('section_id', 'unknown')}</span><br>
27
- <strong style='color: black;'>Ранг:</strong> <span style='color: black;'>{i+1}</span> | <strong style='color: black;'>Размер:</strong> <span style='color: black;'>{chunk['chunk_size']} символов</span><br>
28
  <strong style='color: black;'>Содержание:</strong><br>
29
  <div style='background-color: white; padding: 8px; margin-top: 5px; border-radius: 3px; font-family: monospace; font-size: 12px; color: black; max-height: 200px; overflow-y: auto;'>
30
  {chunk['chunk_text']}
 
24
  <div style='background-color: {bg_color}; padding: 10px; margin: 5px 0; border-radius: 5px; border-left: 4px solid #007bff; color: black;'>
25
  <strong style='color: black;'>Документ:</strong> <span style='color: black;'>{chunk['document_id']}</span><br>
26
  <strong style='color: black;'>Раздел:</strong> <span style='color: black;'>{chunk.get('section_id', 'unknown')}</span><br>
 
27
  <strong style='color: black;'>Содержание:</strong><br>
28
  <div style='background-color: white; padding: 8px; margin-top: 5px; border-radius: 3px; font-family: monospace; font-size: 12px; color: black; max-height: 200px; overflow-y: auto;'>
29
  {chunk['chunk_text']}