File size: 298 Bytes
eadae5d
5026ee5
 
11b0261
eadae5d
 
 
 
d75c37b
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import subprocess
import streamlit as st

st.write("Output of `pip freeze`:")
p = subprocess.Popen(["pip", "freeze"], stdout=subprocess.PIPE)
output = p.communicate()[0]
st.code(output.decode("utf-8"))

from transformers import AutoModelForSeq2SeqLM

st.success("imported `AutoModelForSeq2SeqLM`")