Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ from huggingface_hub import from_pretrained_keras
|
|
2 |
import numpy as np
|
3 |
import gradio as gr
|
4 |
import transformers
|
|
|
5 |
|
6 |
class BertSemanticDataGenerator(tf.keras.utils.Sequence):
|
7 |
"""Generates batches of data."""
|
|
|
2 |
import numpy as np
|
3 |
import gradio as gr
|
4 |
import transformers
|
5 |
+
import tensorflow as tf
|
6 |
|
7 |
class BertSemanticDataGenerator(tf.keras.utils.Sequence):
|
8 |
"""Generates batches of data."""
|