PierreBrunelle
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -51,8 +51,7 @@ def create_prompt(top_k_list: list[dict], question: str) -> str:
|
|
51 |
{question}'''
|
52 |
|
53 |
"""Gradio Application"""
|
54 |
-
|
55 |
-
def process_files(ground_truth_file, pdf_files):
|
56 |
# Process ground truth file
|
57 |
if ground_truth_file.name.endswith('.csv'):
|
58 |
queries_t = pxt.io.import_csv('rag_demo.queries', ground_truth_file.name)
|
|
|
51 |
{question}'''
|
52 |
|
53 |
"""Gradio Application"""
|
54 |
+
def process_files(ground_truth_file, pdf_files):
|
|
|
55 |
# Process ground truth file
|
56 |
if ground_truth_file.name.endswith('.csv'):
|
57 |
queries_t = pxt.io.import_csv('rag_demo.queries', ground_truth_file.name)
|