Update app.py
Browse files
app.py
CHANGED
@@ -18,12 +18,12 @@ description = "Sistema para automação。"
|
|
18 |
st.header(description)
|
19 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spaces/akhaliq/GFPGAN/' target='_blank'>clone from akhaliq@huggingface with little change</a> | <a href='https://github.com/TencentARC/GFPGAN' target='_blank'>GFPGAN Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
20 |
#-s 720x1280
|
21 |
-
my_bar = st.progress(0)
|
22 |
-
percent_complete=0
|
23 |
-
my_bar.progress(percent_complete )
|
24 |
|
|
|
25 |
|
26 |
-
if
|
|
|
|
|
27 |
percent_complete= percent_complete+ 10
|
28 |
my_bar.progress(percent_complete )
|
29 |
#exec=True
|
|
|
18 |
st.header(description)
|
19 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spaces/akhaliq/GFPGAN/' target='_blank'>clone from akhaliq@huggingface with little change</a> | <a href='https://github.com/TencentARC/GFPGAN' target='_blank'>GFPGAN Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
20 |
#-s 720x1280
|
|
|
|
|
|
|
21 |
|
22 |
+
load = st.checkbox("load")
|
23 |
|
24 |
+
if load:
|
25 |
+
percent_complete=0
|
26 |
+
my_bar = st.progress(0)
|
27 |
percent_complete= percent_complete+ 10
|
28 |
my_bar.progress(percent_complete )
|
29 |
#exec=True
|