petrsovadina commited on
Commit
b845591
1 Parent(s): 5a6f959

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,4 +1,9 @@
 
1
  import streamlit as st
 
 
 
 
2
  from transformers import AutoTokenizer, AutoModelForCausalLM
3
 
4
  # Show title and description.
 
1
+ import os
2
  import streamlit as st
3
+
4
+ # Install dependencies if not already installed
5
+ os.system('pip install transformers torch')
6
+
7
  from transformers import AutoTokenizer, AutoModelForCausalLM
8
 
9
  # Show title and description.