Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,12 +45,11 @@ def text_editor_app():
|
|
45 |
identifiers = []
|
46 |
texts = []
|
47 |
with gr.Row():
|
48 |
-
for i in range(
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
texts.append(text_input)
|
54 |
|
55 |
analyze_button = gr.Button("Run Analysis")
|
56 |
output_plot = gr.Plot(label="PCA Visualization")
|
|
|
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")
|