Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
import streamlit as st
|
2 |
from streamlit_ace import st_ace
|
3 |
from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
|
4 |
import os
|
@@ -11,7 +10,7 @@ import torch
|
|
11 |
from huggingface_hub import hf_hub_url, cached_download, HfApi
|
12 |
import re
|
13 |
from typing import List, Dict
|
14 |
-
import streamlit as st
|
15 |
from streamlit_jupyter import StreamlitPatcher, tqdm
|
16 |
|
17 |
StreamlitPatcher().jupyter() # This patches Streamlit to work in Jupyter
|
|
|
|
|
1 |
from streamlit_ace import st_ace
|
2 |
from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
|
3 |
import os
|
|
|
10 |
from huggingface_hub import hf_hub_url, cached_download, HfApi
|
11 |
import re
|
12 |
from typing import List, Dict
|
13 |
+
import streamlit as st # This import is sufficient
|
14 |
from streamlit_jupyter import StreamlitPatcher, tqdm
|
15 |
|
16 |
StreamlitPatcher().jupyter() # This patches Streamlit to work in Jupyter
|