Spaces:
Sleeping
Sleeping
Update app.py
Browse filesSwitching theme function to Streamlit because gradio still gave error stating gr not defined
app.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
from transformers import pipeline, AutoConfig, AutoTokenizer, AutoModelForSeq2SeqLM, AutoModelForCausalLM, MistralForCausalLM
|
| 4 |
-
from peft import PeftModel,
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
#Note this should be used always in compliance with applicable laws and regulations if used with real patient data.
|
| 10 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
from transformers import pipeline, AutoConfig, AutoTokenizer, AutoModelForSeq2SeqLM, AutoModelForCausalLM, MistralForCausalLM
|
| 4 |
+
from peft import PeftModel, PeftConfigimport streamlit as st
|
| 5 |
+
from streamlit_theme import theme
|
| 6 |
|
| 7 |
+
st.set_theme("pseudolab/huggingface-korea-theme')
|
| 8 |
|
| 9 |
#Note this should be used always in compliance with applicable laws and regulations if used with real patient data.
|
| 10 |
|