Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|