Spaces:
Runtime error
Runtime error
uploading a locally pre-cached examples folder breakes it. Creating one during build time breaks it. So the examples are not cached anymore.
Browse files- app.py +2 -1
- examples/log.csv +14 -1
- examples/log_old.csv +0 -20
- gradio_cached_examples/19/Upscaled Image/tmpgavtme6h.jpg +0 -0
- gradio_cached_examples/19/Upscaled Image/tmphoo2su3u.jpg +0 -0
- gradio_cached_examples/19/Upscaled Image/tmpj9zjbeis.jpg +0 -0
- gradio_cached_examples/19/Upscaled Image/tmpofxqfb_d.jpg +0 -0
- gradio_cached_examples/19/Upscaled Image/tmprlgl98vd.jpg +0 -0
- gradio_cached_examples/19/Upscaled Image/tmpwy_o4ro2.jpg +0 -0
- gradio_cached_examples/19/log.csv +0 -7
app.py
CHANGED
@@ -197,7 +197,8 @@ def main():
|
|
197 |
upscale_btn = gr.Button("Upscale")
|
198 |
reset_btn = gr.Button("Reset")
|
199 |
with gr.Group():
|
200 |
-
gr.
|
|
|
201 |
gr.Markdown(
|
202 |
"""
|
203 |
**Model infos**
|
|
|
197 |
upscale_btn = gr.Button("Upscale")
|
198 |
reset_btn = gr.Button("Reset")
|
199 |
with gr.Group():
|
200 |
+
gr.Markdown(""" **Examples are not pre-cached. You need to press the Upscale Button after selecting one**""")
|
201 |
+
gr.Examples(examples="examples",inputs=[input_image, model_name, face_enhance],outputs=output_image,fn=realesrgan, cache_examples=False)
|
202 |
gr.Markdown(
|
203 |
"""
|
204 |
**Model infos**
|
examples/log.csv
CHANGED
@@ -1,7 +1,20 @@
|
|
1 |
input_image,model_name,face_enhance
|
|
|
2 |
dearalice1.png,4xHFA2k,
|
3 |
dearalice1.png,4xNomos8kSC,
|
4 |
-
dearalice1.png,2xHFA2kCompact,
|
5 |
buddy.jpg,4xNomos8kSC,true
|
6 |
buddy.jpg,4xLSDIRplusC,true
|
7 |
buddy.jpg,4xLSDIRCompactC3,true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
input_image,model_name,face_enhance
|
2 |
+
dearalice1.png,2xHFA2kCompact,
|
3 |
dearalice1.png,4xHFA2k,
|
4 |
dearalice1.png,4xNomos8kSC,
|
|
|
5 |
buddy.jpg,4xNomos8kSC,true
|
6 |
buddy.jpg,4xLSDIRplusC,true
|
7 |
buddy.jpg,4xLSDIRCompactC3,true
|
8 |
+
seeufer.jpg,4xNomos8kSC,
|
9 |
+
seeufer.jpg,4xLSDIR,
|
10 |
+
seeufer.jpg,4xLSDIRplusN,
|
11 |
+
seeufer.jpg,4xLSDIRCompactN,
|
12 |
+
bibli.png,4xLSDIR,
|
13 |
+
bibli.png,4xLSDIRplusN,
|
14 |
+
bibli.png,4xLSDIRplusC,
|
15 |
+
palme.jpg,4xNomos8kSC,
|
16 |
+
zimmer.jpg,4xNomos8kSC,
|
17 |
+
text.png,2xParimgCompact,
|
18 |
+
text.png,4xNomos8kSC,
|
19 |
+
jujutsukaisen.png,4xHFA2k,
|
20 |
+
jujutsukaisen.png,4xNomos8kSC,
|
examples/log_old.csv
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
input_image,model_name,face_enhance
|
2 |
-
dearalice1.png,4xHFA2k,
|
3 |
-
dearalice1.png,4xNomos8kSC,
|
4 |
-
dearalice1.png,2xHFA2kCompact,
|
5 |
-
buddy.jpg,4xNomos8kSC,true
|
6 |
-
buddy.jpg,4xLSDIRplusC,true
|
7 |
-
buddy.jpg,4xLSDIRCompactC3,true
|
8 |
-
seeufer.jpg,4xNomos8kSC,
|
9 |
-
seeufer.jpg,4xLSDIR,
|
10 |
-
seeufer.jpg,4xLSDIRplusN,
|
11 |
-
seeufer.jpg,4xLSDIRCompactN,
|
12 |
-
bibli.png,4xLSDIR,
|
13 |
-
bibli.png,4xLSDIRplusN,
|
14 |
-
bibli.png,4xLSDIRplusC,
|
15 |
-
palme.jpg,4xNomos8kSC,
|
16 |
-
zimmer.jpg,4xNomos8kSC,
|
17 |
-
text.png,2xParimgCompact,
|
18 |
-
text.png,4xNomos8kSC,
|
19 |
-
jujutsukaisen.png,4xHFA2k,
|
20 |
-
jujutsukaisen.png,4xNomos8kSC,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gradio_cached_examples/19/Upscaled Image/tmpgavtme6h.jpg
DELETED
Binary file (660 kB)
|
|
gradio_cached_examples/19/Upscaled Image/tmphoo2su3u.jpg
DELETED
Binary file (715 kB)
|
|
gradio_cached_examples/19/Upscaled Image/tmpj9zjbeis.jpg
DELETED
Binary file (697 kB)
|
|
gradio_cached_examples/19/Upscaled Image/tmpofxqfb_d.jpg
DELETED
Binary file (593 kB)
|
|
gradio_cached_examples/19/Upscaled Image/tmprlgl98vd.jpg
DELETED
Binary file (216 kB)
|
|
gradio_cached_examples/19/Upscaled Image/tmpwy_o4ro2.jpg
DELETED
Binary file (667 kB)
|
|
gradio_cached_examples/19/log.csv
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
Upscaled Image,flag,username,timestamp
|
2 |
-
/home/phips/Documents/upscale_demo/gradio_cached_examples/19/Upscaled Image/tmpofxqfb_d.jpg,,,2023-05-20 18:32:03.291789
|
3 |
-
/home/phips/Documents/upscale_demo/gradio_cached_examples/19/Upscaled Image/tmpgavtme6h.jpg,,,2023-05-20 18:32:07.375375
|
4 |
-
/home/phips/Documents/upscale_demo/gradio_cached_examples/19/Upscaled Image/tmprlgl98vd.jpg,,,2023-05-20 18:32:07.540321
|
5 |
-
/home/phips/Documents/upscale_demo/gradio_cached_examples/19/Upscaled Image/tmpj9zjbeis.jpg,,,2023-05-20 18:32:13.832040
|
6 |
-
/home/phips/Documents/upscale_demo/gradio_cached_examples/19/Upscaled Image/tmphoo2su3u.jpg,,,2023-05-20 18:32:20.023124
|
7 |
-
/home/phips/Documents/upscale_demo/gradio_cached_examples/19/Upscaled Image/tmpwy_o4ro2.jpg,,,2023-05-20 18:32:22.113998
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|