aseifert commited on
Commit
1919d85
1 Parent(s): dc7bba5

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+ import streamlit as st
3
+
4
+ st.write("Output of `pip freeze`:")
5
+ p = subprocess.Popen(["pip", "freeze"], stdout=subprocess.PIPE)
6
+ output = p.communicate()[0]
7
+ st.code(output.decode("utf-8"))
8
+
9
+ from transformers import AutoModelForSeq2SeqLM
10
+
11
+ st.success("imported `AutoModelForSeq2SeqLM`")