Fifth-Fractal commited on
Commit
e46ad70
·
1 Parent(s): 11a310e

fix yet again please work

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def generate_questions(
86
  if csv_path.exists():
87
  checkFrame = pd.read_csv(csv_path, usecols=[0], header=None)
88
  checkFrame.columns = ["Check"]
89
- if checkFrame.iloc[0]["Check"] != "Failed to generate more questions.":
90
  # Generate markdown content
91
  markdown_content = convert_csv_to_markdown(csv_path)
92
  return (
 
86
  if csv_path.exists():
87
  checkFrame = pd.read_csv(csv_path, usecols=[0], header=None)
88
  checkFrame.columns = ["Check"]
89
+ if checkFrame.iloc[0]["Check"] != "Failed to generate more questions." and checkFrame.iloc[0]["Check"] != "Too many rejected questions.":
90
  # Generate markdown content
91
  markdown_content = convert_csv_to_markdown(csv_path)
92
  return (