ShawLiu commited on
Commit
a894e99
1 Parent(s): 9c0910d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def predict(text, seed, out_seq_length, min_gen_length, sampling_strategy,
61
  if __name__ == "__main__":
62
 
63
  en_fil = ['The Starry Night is an oil-on-canvas painting by [MASK] in June 1889.']
64
- en_gen = ['Question: What's the best winter resort city? User: A 10-year professional traveler. Answer: [gMASK]'] #['Eight planets in solar system are [gMASK]']
65
  ch_fil = ['凯旋门位于意大利米兰市古城堡旁。1807年为纪念[MASK]而建,门高25米,顶上矗立两武士青铜古兵车铸像。']
66
  ch_gen = ['三亚位于海南岛的最南端,是中国最南部的热带滨海旅游城市 [gMASK]']
67
  en_to_ch = ['Pencil in Chinese is [MASK].']
 
61
  if __name__ == "__main__":
62
 
63
  en_fil = ['The Starry Night is an oil-on-canvas painting by [MASK] in June 1889.']
64
+ en_gen = ['Question: What\'s the best winter resort city? User: A 10-year professional traveler. Answer: [gMASK]'] #['Eight planets in solar system are [gMASK]']
65
  ch_fil = ['凯旋门位于意大利米兰市古城堡旁。1807年为纪念[MASK]而建,门高25米,顶上矗立两武士青铜古兵车铸像。']
66
  ch_gen = ['三亚位于海南岛的最南端,是中国最南部的热带滨海旅游城市 [gMASK]']
67
  en_to_ch = ['Pencil in Chinese is [MASK].']