Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,9 +2,9 @@ import os
|
|
| 2 |
import streamlit as st
|
| 3 |
import tensorflow as tf
|
| 4 |
import numpy as np
|
| 5 |
-
import matplotlib.pyplot as plt
|
| 6 |
from huggingface_hub import HfApi, hf_hub_download
|
| 7 |
from PIL import Image
|
|
|
|
| 8 |
|
| 9 |
# Hugging Face credentials
|
| 10 |
api = HfApi()
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
import tensorflow as tf
|
| 4 |
import numpy as np
|
|
|
|
| 5 |
from huggingface_hub import HfApi, hf_hub_download
|
| 6 |
from PIL import Image
|
| 7 |
+
from io import BytesIO
|
| 8 |
|
| 9 |
# Hugging Face credentials
|
| 10 |
api = HfApi()
|