Update App.py
Browse files
App.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import tensorflow as tf
|
| 2 |
from transformers import pipeline
|
|
|
|
| 3 |
|
| 4 |
model = pipeline('image-classification', model='google/vit-base-patch16-224-in21k')
|
| 5 |
result = model('path/to/image.jpg')
|
|
|
|
| 1 |
import tensorflow as tf
|
| 2 |
from transformers import pipeline
|
| 3 |
+
import streamlit as st
|
| 4 |
|
| 5 |
model = pipeline('image-classification', model='google/vit-base-patch16-224-in21k')
|
| 6 |
result = model('path/to/image.jpg')
|