alikayh commited on
Commit
a0b8d2a
·
verified ·
1 Parent(s): 9e7ed2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,4 +1,6 @@
1
  import streamlit as st
 
 
2
  from transformers import AutoTokenizer, AutoModelForCausalLM
3
 
4
  # بارگذاری مدل و توکنایزر
 
1
  import streamlit as st
2
+ import subprocess
3
+ subprocess.run("pip install transformers", shell=True)
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
  # بارگذاری مدل و توکنایزر