Spaces:
Runtime error
Runtime error
Aakash Goel
commited on
Commit
·
7566cf0
1
Parent(s):
c582d76
log download changes
Browse files- code/qa.py +1 -1
- results/df_log_file.csv +3 -3
code/qa.py
CHANGED
@@ -22,7 +22,7 @@ def load_model():
|
|
22 |
# @st.cache
|
23 |
def csv_downloader(df):
|
24 |
# IMPORTANT: Cache the conversion to prevent computation on every rerun
|
25 |
-
res = df.to_csv().encode('utf-8')
|
26 |
st.download_button(
|
27 |
label="Download logs data as CSV separated by tab",
|
28 |
data=res,
|
|
|
22 |
# @st.cache
|
23 |
def csv_downloader(df):
|
24 |
# IMPORTANT: Cache the conversion to prevent computation on every rerun
|
25 |
+
res = df.to_csv(index=False,sep="\t").encode('utf-8')
|
26 |
st.download_button(
|
27 |
label="Download logs data as CSV separated by tab",
|
28 |
data=res,
|
results/df_log_file.csv
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
-
|
3 |
and first released in 1991, Python's design philosophy emphasizes code \
|
4 |
-
readability with its notable use of significant whitespace."
|
|
|
1 |
+
TimeStamp Question Input Answer Score
|
2 |
+
2022-09-20 19:58:53.622885 What is Python ? "Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum \
|
3 |
and first released in 1991, Python's design philosophy emphasizes code \
|
4 |
+
readability with its notable use of significant whitespace." an interpreted, high-level, general-purpose programming language 0.45
|