Aakash Goel commited on
Commit
5dc8391
·
1 Parent(s): 0a6c830

tail changes

Browse files
Files changed (2) hide show
  1. code/qa.py +1 -1
  2. results/df_log_file.csv +16 -0
code/qa.py CHANGED
@@ -67,7 +67,7 @@ if raw_text != None and raw_text != '':
67
  "Answer":[str(answer["answer"])],\
68
  "Score":[str(round(answer["score"],2))]})
69
  res_df.to_csv(output_path, mode='a', index=False, sep="\t", header= not os.path.exists(output_path))
70
- st.dataframe(pd.read_csv(output_path,sep="\t").tail(10))
71
  csv_downloader(pd.read_csv(output_path,sep="\t"))
72
 
73
 
 
67
  "Answer":[str(answer["answer"])],\
68
  "Score":[str(round(answer["score"],2))]})
69
  res_df.to_csv(output_path, mode='a', index=False, sep="\t", header= not os.path.exists(output_path))
70
+ st.dataframe(pd.read_csv(output_path,sep="\t").tail(4))
71
  csv_downloader(pd.read_csv(output_path,sep="\t"))
72
 
73
 
results/df_log_file.csv CHANGED
@@ -589,3 +589,19 @@ In the warmer months, these activities often involve water. Weekend and longer t
589
  Fishing does not cease when the lakes freeze; ice fishing has been around since the arrival of early Scandinavian immigrants.[182] Minnesotans have learned to embrace their long, harsh winters in ice sports such as skating, hockey, curling, and broomball, and snow sports such as cross-country skiing, alpine skiing, luge, snowshoeing, and snowmobiling.[183] Minnesota is the only U.S. state where bandy is played.[184]
590
 
591
  State and national forests and the 72 state parks are used year-round for hunting, camping, and hiking. There are almost 20,000 miles (32,000 km) of snowmobile trails statewide.[185] Minnesota has more miles of bike trails than any other state,[186] and a growing network of hiking trails, including the 235-mile (378 km) Superior Hiking Trail in the northeast.[187] Many hiking and bike trails are used for cross-country skiing during the winter." environmentalism 0.67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  Fishing does not cease when the lakes freeze; ice fishing has been around since the arrival of early Scandinavian immigrants.[182] Minnesotans have learned to embrace their long, harsh winters in ice sports such as skating, hockey, curling, and broomball, and snow sports such as cross-country skiing, alpine skiing, luge, snowshoeing, and snowmobiling.[183] Minnesota is the only U.S. state where bandy is played.[184]
590
 
591
  State and national forests and the 72 state parks are used year-round for hunting, camping, and hiking. There are almost 20,000 miles (32,000 km) of snowmobile trails statewide.[185] Minnesota has more miles of bike trails than any other state,[186] and a growing network of hiking trails, including the 235-mile (378 km) Superior Hiking Trail in the northeast.[187] Many hiking and bike trails are used for cross-country skiing during the winter." environmentalism 0.67
592
+ 2022-09-20 20:55:10.189058 What is forest Gump ? "Forrest Gump is a 1994 American comedy-drama film directed by Robert Zemeckis and written by Eric Roth. \
593
+ It is based on the 1986 novel of the same name by Winston Groom and stars Tom Hanks, Robin Wright, Gary Sinise, \
594
+ Mykelti Williamson and Sally Field. The story depicts several decades in the life of Forrest Gump (Hanks), \
595
+ a slow-witted but kind-hearted man from Alabama who witnesses and unwittingly influences several defining \
596
+ historical events in the 20th century United States. The film differs substantially from the novel." Forrest 0.1
597
+ 2022-09-20 20:55:47.136703 What is forest "Forrest Gump is a 1994 American comedy-drama film directed by Robert Zemeckis and written by Eric Roth. \
598
+ It is based on the 1986 novel of the same name by Winston Groom and stars Tom Hanks, Robin Wright, Gary Sinise, \
599
+ Mykelti Williamson and Sally Field. The story depicts several decades in the life of Forrest Gump (Hanks), \
600
+ a slow-witted but kind-hearted man from Alabama who witnesses and unwittingly influences several defining \
601
+ historical events in the 20th century United States. The film differs substantially from the novel." Alabama 0.04
602
+ 2022-09-20 21:10:39.953951 What Brody bought? My name is Brody and I was in market today. I buy 2 bananas and 3 apple. 2 bananas and 3 apple 0.6
603
+ 2022-09-20 21:12:05.745926 Who is Mykelti Williamson ? "Forrest Gump is a 1994 American comedy-drama film directed by Robert Zemeckis and written by Eric Roth. \
604
+ It is based on the 1986 novel of the same name by Winston Groom and stars Tom Hanks, Robin Wright, Gary Sinise, \
605
+ Mykelti Williamson and Sally Field. The story depicts several decades in the life of Forrest Gump (Hanks), \
606
+ a slow-witted but kind-hearted man from Alabama who witnesses and unwittingly influences several defining \
607
+ historical events in the 20th century United States. The film differs substantially from the novel." a slow-witted but kind-hearted 0.08