Spaces:
Running
Running
Update app.py
Browse files2nd attempt to go from 7 columns to five, this time with Gemini's help.
468 total_slots = 5 # Change from 7 to 5
469 total_table_width_in = 5.0 # Change from 7.0 to 5.0
455 current_limit = 4 if len(chunks) == 0 else 5 # Change from 6/7 to 4/5 (within the calculate_clean_chunks function)
451 unmodified lines4524534544554554564574586 unmodified lines465466467468469468469470471472444 unmodified lines917918919920451 unmodified lines current_chunk = [] word_index = 0 while word_index < len(words_data): current_limit = 6 if len(chunks) == 0 else 7 current_limit = 4 if len(chunks) == 0 else 5 word = words_data[word_index] current_chunk.append(word) if len(current_chunk) == current_limit:6 unmodified lines
def build_html_tables(manuscript, reference, words_data): column_width_in = 1.0 total_slots = 7 total_table_width_in = 7.0 total_slots = 5 total_table_width_in = 5.0 # Table container locked to LTR flow with legacy centering for Docs table_style = (444 unmodified lines
demo.queue().launch(server_name="0.0.0.0", server_port=7860, css=custom_css)
app.py+4-3