gloignon commited on
Commit
96cf461
·
verified ·
1 Parent(s): 3571cd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -44,12 +44,13 @@ def text_editor_app():
44
  with gr.Blocks() as demo:
45
  identifiers = []
46
  texts = []
47
- with gr.Row():
48
- for i in range(6): # Assuming 6 entries
49
  id_input = gr.Textbox(label=f"Identifier {i+1}")
50
  text_input = gr.Textbox(label=f"Text {i+1}")
51
- identifiers.append(id_input)
52
- texts.append(text_input)
 
53
 
54
  analyze_button = gr.Button("Run Analysis")
55
  output_plot = gr.Plot(label="PCA Visualization")
 
44
  with gr.Blocks() as demo:
45
  identifiers = []
46
  texts = []
47
+ for i in range(4): # Assuming we have 4 entries
48
+ with gr.Column():
49
  id_input = gr.Textbox(label=f"Identifier {i+1}")
50
  text_input = gr.Textbox(label=f"Text {i+1}")
51
+ identifier_inputs.append(id_input)
52
+ text_inputs.append(text_input)
53
+ gr.Markdown("---") # Add a horizontal rule to create a break
54
 
55
  analyze_button = gr.Button("Run Analysis")
56
  output_plot = gr.Plot(label="PCA Visualization")