Spaces:
Build error
Build error
Commit ·
d575d33
1
Parent(s): 0421f48
Update ui_utils.py
Browse files77 unmodified lines7879808182838485868777 unmodified lines# 2. Convert the data to TAPAS formattable = weaviate_utils.convert_to_tapas_format(data)# 3. Call TAPAS with the table and the questionanswers = tapas_utils.ask_llm_chunk(tokenizer, model, table, [question])# Display the answersfor answer in answers:st.write(f"Answer: {answer}")77 unmodified lines78798081828384858687888977 unmodified lines# 2. Convert the data to TAPAS formattable = weaviate_utils.convert_to_tapas_format(data)st.write(f"Data for TAPAS: {table}") # Logging data from TAPAS Table# 3. Call TAPAS with the table and the questionanswers = tapas_utils.ask_llm_chunk(tokenizer, model, table, [question])st.write(f"TAPAS answers: {answers}") # Logging data from TAPAS Answers# Display the answersfor answer in answers:st.write(f"Answer: {answer}")
ui_utils.py+4-2