Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
@@ -2,7 +2,7 @@ import altair as alt
|
|
2 |
import numpy as np
|
3 |
import pandas as pd
|
4 |
import streamlit as st
|
5 |
-
|
6 |
"""
|
7 |
# Welcome to Streamlit!
|
8 |
|
@@ -14,7 +14,7 @@ In the meantime, below is an example of what you can do with just a few lines of
|
|
14 |
"""
|
15 |
|
16 |
# Use a pipeline as a high-level helper
|
17 |
-
|
18 |
|
19 |
messages = [
|
20 |
{"role": "user", "content": "Who are you?"},
|
|
|
2 |
import numpy as np
|
3 |
import pandas as pd
|
4 |
import streamlit as st
|
5 |
+
from transformers import pipeline
|
6 |
"""
|
7 |
# Welcome to Streamlit!
|
8 |
|
|
|
14 |
"""
|
15 |
|
16 |
# Use a pipeline as a high-level helper
|
17 |
+
|
18 |
|
19 |
messages = [
|
20 |
{"role": "user", "content": "Who are you?"},
|