Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 1 |
+
# Requires the latest pip
|
| 2 |
+
pip install --upgrade pip
|
| 3 |
+
|
| 4 |
+
# Current stable release for CPU and GPU
|
| 5 |
+
pip install tensorflow
|
| 6 |
+
|
| 7 |
+
# Or try the preview build (unstable)
|
| 8 |
+
pip install tf-nightly
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
import streamlit as st
|
| 13 |
from transformers import pipeline
|
| 14 |
|