Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,6 +102,10 @@ def respond(message, history):
|
|
| 102 |
formatted_responce = f'\n************* BAAI/bge-large-en-v1.5 ****************\n{responce_bge}\n************** sentence-transformers/gtr-t5-large ***************\n{responce_gtr_t5}'
|
| 103 |
yield formatted_responce
|
| 104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
with gr.Blocks() as demo:
|
| 106 |
gr.Markdown("# Intelligent Financial Document Q&A App")
|
| 107 |
|
|
|
|
| 102 |
formatted_responce = f'\n************* BAAI/bge-large-en-v1.5 ****************\n{responce_bge}\n************** sentence-transformers/gtr-t5-large ***************\n{responce_gtr_t5}'
|
| 103 |
yield formatted_responce
|
| 104 |
|
| 105 |
+
# Read the content of the README.md file
|
| 106 |
+
with open("about.md", "r") as file:
|
| 107 |
+
about_lines = file.read()
|
| 108 |
+
|
| 109 |
with gr.Blocks() as demo:
|
| 110 |
gr.Markdown("# Intelligent Financial Document Q&A App")
|
| 111 |
|