Spaces:
Sleeping
Sleeping
convert iterations to int
Browse files
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)
|