Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
import subprocess
|
| 4 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
|
| 5 |
from huggingface_hub import HfApi
|
| 6 |
-
|
| 7 |
|
| 8 |
try:
|
| 9 |
huggingface_json = st.secrets["huggingface"]
|
|
@@ -297,4 +298,4 @@ if __name__ == "__main__":
|
|
| 297 |
text-decoration: underline;
|
| 298 |
}
|
| 299 |
</style>
|
| 300 |
-
""", unsafe_allow_html=True)
|
|
|
|
| 1 |
+
import json
|
| 2 |
import streamlit as st
|
| 3 |
import os
|
| 4 |
import subprocess
|
| 5 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
|
| 6 |
from huggingface_hub import HfApi
|
| 7 |
+
|
| 8 |
|
| 9 |
try:
|
| 10 |
huggingface_json = st.secrets["huggingface"]
|
|
|
|
| 298 |
text-decoration: underline;
|
| 299 |
}
|
| 300 |
</style>
|
| 301 |
+
""", unsafe_allow_html=True)
|