Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
import transformers, accelerate
|
| 2 |
-
from PIL import Image
|
| 3 |
import requests
|
| 4 |
|
| 5 |
|
|
@@ -27,6 +26,9 @@ st.subheader("Upload an image and See how Chinese qisper works")
|
|
| 27 |
|
| 28 |
upload_file = st.file_uploader('Upload an Image')
|
| 29 |
|
|
|
|
|
|
|
|
|
|
| 30 |
if upload_file:
|
| 31 |
test_sample = Image.open(upload_file)
|
| 32 |
|
|
|
|
| 1 |
import transformers, accelerate
|
|
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
|
|
|
|
| 26 |
|
| 27 |
upload_file = st.file_uploader('Upload an Image')
|
| 28 |
|
| 29 |
+
from PIL import Image
|
| 30 |
+
|
| 31 |
+
|
| 32 |
if upload_file:
|
| 33 |
test_sample = Image.open(upload_file)
|
| 34 |
|