bhadresh-savani commited on
Commit
1794fd1
·
1 Parent(s): 48ba6b5

fixes prev_example

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def main():
53
  "'' ADAPTOGENS : Herbs for Strength , Stamina , and Stress Relief , '' Healing Arts Press , 2007 - contains a detailed monograph on Schisandra chinensis as well as highlights health benefits ."
54
  ]
55
  example = examples[random.randint(0, len(examples)-1)]
56
- previous_example = example
57
  while change_example and example==previous_example:
58
  example = examples[random.randint(0, len(examples)-1)]
59
  previous_example = example
 
53
  "'' ADAPTOGENS : Herbs for Strength , Stamina , and Stress Relief , '' Healing Arts Press , 2007 - contains a detailed monograph on Schisandra chinensis as well as highlights health benefits ."
54
  ]
55
  example = examples[random.randint(0, len(examples)-1)]
56
+ previous_example = ""
57
  while change_example and example==previous_example:
58
  example = examples[random.randint(0, len(examples)-1)]
59
  previous_example = example