Spaces:
Sleeping
Sleeping
Upload 10 files
Browse files- app.py +1 -1
- tagger/fl2sd3longcap.py +1 -1
- tagger/tagger.py +1 -1
app.py
CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
82 |
with gr.Group():
|
83 |
with gr.Row():
|
84 |
output = [gr.Image(label='', elem_classes="output", type="filepath", format="png",
|
85 |
-
show_download_button=True, show_share_button=False, show_label=False,
|
86 |
interactive=False, min_width=80, visible=True) for _ in range(max_images)]
|
87 |
with gr.Group():
|
88 |
results = gr.Gallery(label="Gallery", elem_classes="gallery", interactive=False, show_download_button=True, show_share_button=False,
|
|
|
82 |
with gr.Group():
|
83 |
with gr.Row():
|
84 |
output = [gr.Image(label='', elem_classes="output", type="filepath", format="png",
|
85 |
+
show_download_button=True, show_share_button=False, show_label=False,
|
86 |
interactive=False, min_width=80, visible=True) for _ in range(max_images)]
|
87 |
with gr.Group():
|
88 |
results = gr.Gallery(label="Gallery", elem_classes="gallery", interactive=False, show_download_button=True, show_share_button=False,
|
tagger/fl2sd3longcap.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
from transformers import AutoProcessor, AutoModelForCausalLM
|
2 |
import spaces
|
|
|
3 |
import re
|
4 |
from PIL import Image
|
5 |
import torch
|
|
|
|
|
1 |
import spaces
|
2 |
+
from transformers import AutoProcessor, AutoModelForCausalLM
|
3 |
import re
|
4 |
from PIL import Image
|
5 |
import torch
|
tagger/tagger.py
CHANGED
@@ -1,7 +1,7 @@
|
|
|
|
1 |
from PIL import Image
|
2 |
import torch
|
3 |
import gradio as gr
|
4 |
-
import spaces
|
5 |
from transformers import (
|
6 |
AutoImageProcessor,
|
7 |
AutoModelForImageClassification,
|
|
|
1 |
+
import spaces
|
2 |
from PIL import Image
|
3 |
import torch
|
4 |
import gradio as gr
|
|
|
5 |
from transformers import (
|
6 |
AutoImageProcessor,
|
7 |
AutoModelForImageClassification,
|