WICKED4950 commited on
Commit
f98e515
·
verified ·
1 Parent(s): cc07c49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,6 +4,8 @@ import tensorflow as tf
4
  import json
5
  import os
6
  from datetime import datetime
 
 
7
 
8
  data = {"Interactions":[]}
9
  with open("question_answer.json", "w") as file:
 
4
  import json
5
  import os
6
  from datetime import datetime
7
+ from tensorflow.keras.mixed_precision import Policy
8
+ tf.keras.mixed_precision.set_global_policy('mixed_float16')
9
 
10
  data = {"Interactions":[]}
11
  with open("question_answer.json", "w") as file: