petrsovadina
commited on
Commit
•
b845591
1
Parent(s):
5a6f959
Update app.py
Browse files
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.
|