Commit
ยท
9194adc
1
Parent(s):
96beb47
ignores hf_hub_logging warnings
Browse files
app.py
CHANGED
@@ -7,11 +7,14 @@ import os
|
|
7 |
|
8 |
import streamlit as st
|
9 |
from torch.cuda import CudaError
|
|
|
10 |
|
11 |
from available_models import AVAILABLE_MODELS
|
12 |
from hanlde_form_submit import on_form_submit
|
13 |
|
14 |
|
|
|
|
|
15 |
st.set_page_config(
|
16 |
page_title="ืืืืื ืืงืืืฆืืช - ืฉืืืืฉ ืืขืื ืืืืืื ืฉืคื ืกืืืชืืื",
|
17 |
layout="wide",
|
|
|
7 |
|
8 |
import streamlit as st
|
9 |
from torch.cuda import CudaError
|
10 |
+
from huggingface_hub import logging as hf_hub_logging
|
11 |
|
12 |
from available_models import AVAILABLE_MODELS
|
13 |
from hanlde_form_submit import on_form_submit
|
14 |
|
15 |
|
16 |
+
hf_hub_logging.set_verbosity_error()
|
17 |
+
|
18 |
st.set_page_config(
|
19 |
page_title="ืืืืื ืืงืืืฆืืช - ืฉืืืืฉ ืืขืื ืืืืืื ืฉืคื ืกืืืชืืื",
|
20 |
layout="wide",
|