Spaces:
Runtime error
Runtime error
Commit
·
58b014c
1
Parent(s):
9bfec02
Update app_hough.py
Browse files- app_hough.py +15 -2
app_hough.py
CHANGED
@@ -61,7 +61,7 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
61 |
n_prompt = gr.Textbox(
|
62 |
label='Negative Prompt',
|
63 |
value=
|
64 |
-
'
|
65 |
)
|
66 |
with gr.Column():
|
67 |
result = gr.Gallery(label='Output',
|
@@ -87,7 +87,20 @@ def create_demo(process, max_images=12, default_num_images=3):
|
|
87 |
inputs=inputs,
|
88 |
outputs=result,
|
89 |
api_name='hough')
|
90 |
-
ex = gr.Examples(examples = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
inputs = inputs, outputs = result, fn = process, cache_examples = True)
|
92 |
|
93 |
return demo
|
|
|
61 |
n_prompt = gr.Textbox(
|
62 |
label='Negative Prompt',
|
63 |
value=
|
64 |
+
'lowres, cropped, worst quality, low quality'
|
65 |
)
|
66 |
with gr.Column():
|
67 |
result = gr.Gallery(label='Output',
|
|
|
87 |
inputs=inputs,
|
88 |
outputs=result,
|
89 |
api_name='hough')
|
90 |
+
ex = gr.Examples(examples = [
|
91 |
+
["room.jpg",
|
92 |
+
"a room for gaming, with gaming chairs, gaming consoles and gaming computers",
|
93 |
+
"best quality, extremely detailed, photo from Pinterest, interior, cinematic photo, ultra-detailed, ultra-realistic, award-winning",
|
94 |
+
"lowres, cropped, worst quality, low quality",
|
95 |
+
2,
|
96 |
+
512,
|
97 |
+
512,
|
98 |
+
20,
|
99 |
+
9.0,
|
100 |
+
1231251235,
|
101 |
+
0.1,
|
102 |
+
0.1,
|
103 |
+
]],
|
104 |
inputs = inputs, outputs = result, fn = process, cache_examples = True)
|
105 |
|
106 |
return demo
|