come commited on
Commit
30b1f3e
·
1 Parent(s): 6d3cb5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -500,6 +500,8 @@ def excelAIReviewTag(file_obj,gptVersion,tempor,gptApiKey,progress=gr.Progress()
500
  HumanReview=True
501
  try:
502
  a=sheet1.cell(2,3)
 
 
503
  except:
504
  HumanReview=False
505
  if HumanReview:
 
500
  HumanReview=True
501
  try:
502
  a=sheet1.cell(2,3)
503
+ if a == None or len(a)==0:
504
+ HumanReview = False
505
  except:
506
  HumanReview=False
507
  if HumanReview: