Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
import torch
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
|
|
4 |
|
5 |
-
|
6 |
-
text = st.text_area("enter some texts")
|
7 |
|
8 |
-
|
9 |
-
out = pipe(text)
|
10 |
-
st.json(out)
|
|
|
1 |
import torch
|
2 |
import streamlit as st
|
3 |
from transformers import pipeline
|
4 |
+
from datasets import load_dataset
|
5 |
|
6 |
+
ds = load_dataset("Marqo/marqo-GS-10M")
|
|
|
7 |
|
8 |
+
st.dataframe(ds)
|
|
|
|