Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# FC-RAG with FAISS
|
2 |
|
3 |
-
# re-build
|
4 |
|
5 |
import gradio as gr
|
6 |
from transformers import AutoTokenizer, AutoModel
|
@@ -320,7 +320,7 @@ def export_to_word(response_content, subdomain_definition, science_goal, context
|
|
320 |
for section in sections:
|
321 |
if section.strip():
|
322 |
# Handle the "Observations Requirements Table" separately with proper formatting
|
323 |
-
if
|
324 |
doc.add_heading('Observations Requirements Table', level=1)
|
325 |
|
326 |
# Extract table lines
|
|
|
1 |
# FC-RAG with FAISS
|
2 |
|
3 |
+
# re-build: 02/03/2025
|
4 |
|
5 |
import gradio as gr
|
6 |
from transformers import AutoTokenizer, AutoModel
|
|
|
320 |
for section in sections:
|
321 |
if section.strip():
|
322 |
# Handle the "Observations Requirements Table" separately with proper formatting
|
323 |
+
if 'Observations Requirements Table' in section:
|
324 |
doc.add_heading('Observations Requirements Table', level=1)
|
325 |
|
326 |
# Extract table lines
|