Lasdw commited on
Commit
97e9ebc
·
1 Parent(s): 32b8e9c

updated max_iterations for langchain

Browse files
Files changed (2) hide show
  1. agent.py +1 -1
  2. app.py +1 -1
agent.py CHANGED
@@ -1584,7 +1584,7 @@ class TurboNerd:
1584
 
1585
  # Example usage:
1586
  if __name__ == "__main__":
1587
- agent = TurboNerd(max_iterations=25)
1588
  response = agent("""The attached Excel file contains the sales of menu items for a local fast-food chain. What were the total sales that the chain made from food (not including drinks)? Express your answer in USD with two decimal places. TEMPP\excel.xlsx """)
1589
  print("\nFinal Response:")
1590
  print(response)
 
1584
 
1585
  # Example usage:
1586
  if __name__ == "__main__":
1587
+ agent = TurboNerd(max_iterations=35)
1588
  response = agent("""The attached Excel file contains the sales of menu items for a local fast-food chain. What were the total sales that the chain made from food (not including drinks)? Express your answer in USD with two decimal places. TEMPP\excel.xlsx """)
1589
  print("\nFinal Response:")
1590
  print(response)
app.py CHANGED
@@ -275,7 +275,7 @@ with gr.Blocks(title="TurboNerd Agent🤓") as demo:
275
  with gr.Row():
276
  with gr.Column(scale=4):
277
  chatbot = gr.Chatbot(
278
- height=600
279
  )
280
  with gr.Row():
281
  question_input = gr.Textbox(
 
275
  with gr.Row():
276
  with gr.Column(scale=4):
277
  chatbot = gr.Chatbot(
278
+ height=300
279
  )
280
  with gr.Row():
281
  question_input = gr.Textbox(