Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import streamlit as st
|
|
5 |
|
6 |
from streamlit.runtime.scriptrunner.script_run_context import get_script_run_ctx
|
7 |
from datetime import datetime
|
8 |
-
|
9 |
# from services.qa_chat_mode import *
|
10 |
# from services.qna import *
|
11 |
# from services.utils import *
|
@@ -68,8 +68,8 @@ def build_experimental_ui():
|
|
68 |
query = st.text_input('Input your question', disabled=False, key="text")
|
69 |
|
70 |
questions_file = st.file_uploader('Upload a CSV file with questions', type=['csv'],accept_multiple_files=False)
|
71 |
-
|
72 |
-
st.write(questions_file)
|
73 |
|
74 |
return
|
75 |
|
|
|
5 |
|
6 |
from streamlit.runtime.scriptrunner.script_run_context import get_script_run_ctx
|
7 |
from datetime import datetime
|
8 |
+
import pandas as pd
|
9 |
# from services.qa_chat_mode import *
|
10 |
# from services.qna import *
|
11 |
# from services.utils import *
|
|
|
68 |
query = st.text_input('Input your question', disabled=False, key="text")
|
69 |
|
70 |
questions_file = st.file_uploader('Upload a CSV file with questions', type=['csv'],accept_multiple_files=False)
|
71 |
+
|
72 |
+
st.write(pd.read_csv(questions_file.name))
|
73 |
|
74 |
return
|
75 |
|