Spaces:
Build error
Build error
Update app.py
Browse files53 unmodified lines5455565758596061626353 unmodified lines# match = difflib.get_close_matches(promptType, table_df, 3)matchList=[]for item in table_json:print(item['prompt'])listA = []listA.append(item['prompt'])match = difflib.get_close_matches(promptType, listA)matchList.append(match)print(matchList)return matchList53 unmodified lines545556575859606162636453 unmodified lines# match = difflib.get_close_matches(promptType, table_df, 3)matchList=[]for item in table_json:listA = []listA.append(item['prompt'])match = difflib.get_close_matches(promptType, listA)print(match)matchList.append(match)print(matchList)return matchList
app.py+2-1