Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -225,7 +225,7 @@ def image_to_wd14_tags(image: Image.Image, model_name: str, threshold: float,
|
|
| 225 |
return ratings, output_text, filtered_tags
|
| 226 |
|
| 227 |
if __name__ == '__main__': # , theme="NoCrypt/miku"
|
| 228 |
-
with gr.Blocks(analytics_enabled=False
|
| 229 |
with gr.Row():
|
| 230 |
with gr.Column():
|
| 231 |
gr_input_image = gr.Image(type='pil', label='Chen Chen', sources=['upload', 'clipboard'])
|
|
|
|
| 225 |
return ratings, output_text, filtered_tags
|
| 226 |
|
| 227 |
if __name__ == '__main__': # , theme="NoCrypt/miku"
|
| 228 |
+
with gr.Blocks(analytics_enabled=False) as demo:
|
| 229 |
with gr.Row():
|
| 230 |
with gr.Column():
|
| 231 |
gr_input_image = gr.Image(type='pil', label='Chen Chen', sources=['upload', 'clipboard'])
|