Update app.py
Browse files
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 |
# بارگذاری مدل و توکنایزر
|