Spaces:
Runtime error
Runtime error
Commit
·
ea2c8db
1
Parent(s):
df6aa25
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,12 @@
|
|
|
|
|
|
1 |
from fastapi import FastAPI, Request, Response
|
2 |
import numpy as np
|
3 |
from tensorflow import keras
|
4 |
from tensorflow.keras import layers
|
|
|
5 |
|
|
|
6 |
from huggingface_hub import push_to_hub_keras
|
7 |
|
8 |
KEY = os.environ.get("WEBHOOK_SECRET")
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
from fastapi import FastAPI, Request, Response
|
4 |
import numpy as np
|
5 |
from tensorflow import keras
|
6 |
from tensorflow.keras import layers
|
7 |
+
import tensorflow as tf
|
8 |
|
9 |
+
from datasets import load_dataset
|
10 |
from huggingface_hub import push_to_hub_keras
|
11 |
|
12 |
KEY = os.environ.get("WEBHOOK_SECRET")
|