nityathakkar commited on
Commit
cecf855
·
verified ·
1 Parent(s): fcdc35d

convert iterations to int

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -501,6 +501,7 @@ if user_input:
501
 
502
  feedback_list = []
503
  # Run your pipeline to generate the dataframe based on user input
 
504
  if iterations > 1:
505
  for _ in range(iterations):
506
  feedback = create_feedback(review, pdf_text, agent_prompt, model)
 
501
 
502
  feedback_list = []
503
  # Run your pipeline to generate the dataframe based on user input
504
+ iterations = int(iterations)
505
  if iterations > 1:
506
  for _ in range(iterations):
507
  feedback = create_feedback(review, pdf_text, agent_prompt, model)