Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,12 +44,13 @@ def text_editor_app():
|
|
44 |
with gr.Blocks() as demo:
|
45 |
identifiers = []
|
46 |
texts = []
|
47 |
-
|
48 |
-
|
49 |
id_input = gr.Textbox(label=f"Identifier {i+1}")
|
50 |
text_input = gr.Textbox(label=f"Text {i+1}")
|
51 |
-
|
52 |
-
|
|
|
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")
|