Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -211,7 +211,7 @@ def startup():
|
|
| 211 |
gr.Textbox(
|
| 212 |
label="AI response",
|
| 213 |
info="Final output from LLM",
|
| 214 |
-
|
| 215 |
value=
|
| 216 |
"""
|
| 217 |
Please click on submit first.
|
|
@@ -307,7 +307,7 @@ def estl_ux_app(main_prompt, similarity_top_k):
|
|
| 307 |
chosen_nodes += "\n - Similarity: " + str(round(n.score*100)) + "%"
|
| 308 |
|
| 309 |
|
| 310 |
-
chosen_nodes += "\n - Content: " + (ntext.replace("|, |","\n\n")).replace("\n\n\n\n\n","\n") + "\n\n\n\n"
|
| 311 |
|
| 312 |
|
| 313 |
#writer.writerow([str(counter), n.node_id, n.metadata['file_path'], str(n.score), n.text])
|
|
|
|
| 211 |
gr.Textbox(
|
| 212 |
label="AI response",
|
| 213 |
info="Final output from LLM",
|
| 214 |
+
max_lines=20,
|
| 215 |
value=
|
| 216 |
"""
|
| 217 |
Please click on submit first.
|
|
|
|
| 307 |
chosen_nodes += "\n - Similarity: " + str(round(n.score*100)) + "%"
|
| 308 |
|
| 309 |
|
| 310 |
+
chosen_nodes += "\n - Content: " + (ntext.replace("|, |","\n\n")).replace("\n\n\n\n\n\n\n\n","\n") + "\n\n\n\n"
|
| 311 |
|
| 312 |
|
| 313 |
#writer.writerow([str(counter), n.node_id, n.metadata['file_path'], str(n.score), n.text])
|