Pinwheel commited on
Commit
9eaaad8
1 Parent(s): 33eef8f

Add datetime

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -37,6 +37,9 @@ blip_demo = vqa.VQA(
37
  model_path = 'checkpoints/model_base_vqa_capfilt_large.pth')
38
 
39
  def predict_image(image, object, question):
 
 
 
40
  result, _ = glip_demo.run_on_web_image(image[:, :, [2, 1, 0]], object, 0.5)
41
  result = result[:, :, [2, 1, 0]]
42
  answer = blip_demo.vqa_demo(image, question)
 
37
  model_path = 'checkpoints/model_base_vqa_capfilt_large.pth')
38
 
39
  def predict_image(image, object, question):
40
+ now = datetime.now()
41
+ dt_string = now.strftime("%d/%m/%Y %H:%M:%S")
42
+ print("TimeStamp {}".format(dt_string))
43
  result, _ = glip_demo.run_on_web_image(image[:, :, [2, 1, 0]], object, 0.5)
44
  result = result[:, :, [2, 1, 0]]
45
  answer = blip_demo.vqa_demo(image, question)