Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def main():
|
|
23 |
|
24 |
csv_files = st.file_uploader("Upload CSV files", type="csv", accept_multiple_files=True)
|
25 |
if csv_files:
|
26 |
-
llm = OpenAI(api_key=api_key, temperature=0, max_tokens=1000
|
27 |
user_input = st.text_input("Question here:")
|
28 |
|
29 |
# Iterate over each CSV file
|
|
|
23 |
|
24 |
csv_files = st.file_uploader("Upload CSV files", type="csv", accept_multiple_files=True)
|
25 |
if csv_files:
|
26 |
+
llm = OpenAI(api_key=api_key, temperature=0, max_tokens=1000) # Adjust max_tokens as needed
|
27 |
user_input = st.text_input("Question here:")
|
28 |
|
29 |
# Iterate over each CSV file
|