valhalla commited on
Commit
94f1a50
·
1 Parent(s): a4521d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def inference(input_sentence, max_length, sample_or_greedy, raw_text=True):
71
  )
72
 
73
  if raw_text:
74
- return None, data[0]['generated_text'][0][0]
75
 
76
  width, height = 3326, 3326
77
  assets_path = "assets"
 
71
  )
72
 
73
  if raw_text:
74
+ return None, data[0]['generated_text'][0]
75
 
76
  width, height = 3326, 3326
77
  assets_path = "assets"