Spaces:
Build error
Build error
Commit ·
d575d33
1
Parent(s): 0421f48
Update ui_utils.py
Browse files77 unmodified lines787980818182838485848687888977 unmodified lines
# 2. Convert the data to TAPAS format table = 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 question answers = tapas_utils.ask_llm_chunk(tokenizer, model, table, [question]) st.write(f"TAPAS answers: {answers}") # Logging data from TAPAS Answers
# Display the answers for answer in answers: st.write(f"Answer: {answer}")ui_utils.py+4-2