PierreHanna commited on
Commit
f65a9bb
β€’
1 Parent(s): e38c032

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -57,8 +57,12 @@ def process(prompt, lang):
57
  bert_model = hub.KerasLayer(tfhub_handle_encoder)
58
 
59
  now = datetime.datetime.now()
60
- print("Current date and time: ", str(now))
 
 
61
  print("Text input : ", prompt)
 
 
62
  prompt=[prompt]
63
  text_preprocessed = bert_preprocess_model([np.array(prompt)])
64
  embed_prompt = bert_model(text_preprocessed)
 
57
  bert_model = hub.KerasLayer(tfhub_handle_encoder)
58
 
59
  now = datetime.datetime.now()
60
+ print()
61
+ print('*************')
62
+ print("Current Time: ", str(now))
63
  print("Text input : ", prompt)
64
+ print('*************')
65
+ print()
66
  prompt=[prompt]
67
  text_preprocessed = bert_preprocess_model([np.array(prompt)])
68
  embed_prompt = bert_model(text_preprocessed)