Update TableQAGradio.py
Browse files- TableQAGradio.py +1 -1
TableQAGradio.py
CHANGED
@@ -13,7 +13,7 @@ models = {
|
|
13 |
|
14 |
def main(model_choice, file_path, text):
|
15 |
# Read the Excel file
|
16 |
-
table_df = pd.read_excel(file_path).astype(str)
|
17 |
|
18 |
# Prepare the input for the model
|
19 |
tqa_pipeline_input = {
|
|
|
13 |
|
14 |
def main(model_choice, file_path, text):
|
15 |
# Read the Excel file
|
16 |
+
table_df = pd.read_excel(file_path, engine='openpyxl').astype(str)
|
17 |
|
18 |
# Prepare the input for the model
|
19 |
tqa_pipeline_input = {
|