hanyullai commited on
Commit
39202f6
1 Parent(s): a52efb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def predict(text, seed, out_seq_length, min_gen_length, sampling_strategy,
44
  except Exception as e:
45
  return 'Timeout! Please wait a few minutes and retry'
46
 
47
- if response['status'] == 1:
48
  print(response)
49
  return response['result']['errmsg']
50
 
 
44
  except Exception as e:
45
  return 'Timeout! Please wait a few minutes and retry'
46
 
47
+ if response['status'] ==1:
48
  print(response)
49
  return response['result']['errmsg']
50