Spaces:
Sleeping
Sleeping
fix: theme from hub
#4
by
wseo
- opened
- app.py +2 -4
- requirements.txt +0 -1
app.py
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 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 |
-
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 |
|
|
|
|
| 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, PeftConfig
|
| 5 |
+
gr.Blocks(theme= 'pseudolab/huggingface-korea-theme')
|
|
|
|
|
|
|
| 6 |
|
| 7 |
#Note this should be used always in compliance with applicable laws and regulations if used with real patient data.
|
| 8 |
|
requirements.txt
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
streamlit
|
| 2 |
-
gradio
|
| 3 |
pandas
|
| 4 |
transformers
|
| 5 |
peft
|
|
|
|
| 1 |
streamlit
|
|
|
|
| 2 |
pandas
|
| 3 |
transformers
|
| 4 |
peft
|