Spaces:
Runtime error
Runtime error
fix seed.
Browse files
app.py
CHANGED
@@ -66,24 +66,8 @@ def infer_img_proc(
|
|
66 |
|
67 |
|
68 |
examples = [
|
69 |
-
[
|
70 |
-
|
71 |
-
"low quality",
|
72 |
-
"examples/mountain.png",
|
73 |
-
20,
|
74 |
-
1.5,
|
75 |
-
7.5,
|
76 |
-
random.randint(0, 100000),
|
77 |
-
],
|
78 |
-
[
|
79 |
-
"derain this image",
|
80 |
-
"low quality",
|
81 |
-
"examples/duck.png",
|
82 |
-
20,
|
83 |
-
1.5,
|
84 |
-
7.5,
|
85 |
-
random.randint(0, 100000),
|
86 |
-
],
|
87 |
]
|
88 |
|
89 |
with gr.Blocks(theme="gradio/soft") as demo:
|
|
|
66 |
|
67 |
|
68 |
examples = [
|
69 |
+
["cartoonize this image", "low quality", "examples/mountain.png", 20, 1.5, 7.5, 0],
|
70 |
+
["derain this image", "low quality", "examples/duck.png", 20, 1.5, 7.5, 0],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
]
|
72 |
|
73 |
with gr.Blocks(theme="gradio/soft") as demo:
|