Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ uploaded_file = form.file_uploader("Choose a file")
|
|
16 |
text_prompt = form.text_area('Text Prompt', value='Hello, how are you?')
|
17 |
submit_button = form.form_submit_button(label='Submit')
|
18 |
|
19 |
-
|
20 |
if submit_button :
|
21 |
df = pd.read_csv(uploaded_file)
|
22 |
|
@@ -44,7 +43,7 @@ if submit_button :
|
|
44 |
llm=chat_model,
|
45 |
df=df,
|
46 |
verbose=True,
|
47 |
-
|
48 |
handle_parsing_errors="Check your output and make sure it conforms!",
|
49 |
)
|
50 |
|
|
|
16 |
text_prompt = form.text_area('Text Prompt', value='Hello, how are you?')
|
17 |
submit_button = form.form_submit_button(label='Submit')
|
18 |
|
|
|
19 |
if submit_button :
|
20 |
df = pd.read_csv(uploaded_file)
|
21 |
|
|
|
43 |
llm=chat_model,
|
44 |
df=df,
|
45 |
verbose=True,
|
46 |
+
max_tokens_limit=2048,
|
47 |
handle_parsing_errors="Check your output and make sure it conforms!",
|
48 |
)
|
49 |
|