qwertyforce
commited on
Commit
•
f2bff0f
1
Parent(s):
4ac5dc5
Update app.py
Browse files
app.py
CHANGED
@@ -55,6 +55,11 @@ def detect(img, model_choices):
|
|
55 |
|
56 |
model_choices = ["ConvNext Large", "EVA-02 ViT L/14", "EfficientNet-V2 B0"]
|
57 |
|
|
|
|
|
|
|
|
|
|
|
58 |
demo = gr.Interface(fn=detect,
|
59 |
inputs=[gr.Image(type="pil", label="Input Image"),
|
60 |
gr.Radio(
|
@@ -62,5 +67,5 @@ demo = gr.Interface(fn=detect,
|
|
62 |
type="value",
|
63 |
value="EVA-02 ViT L/14",
|
64 |
label="Choose Detector Model",
|
65 |
-
)], outputs="text")
|
66 |
demo.launch()
|
|
|
55 |
|
56 |
model_choices = ["ConvNext Large", "EVA-02 ViT L/14", "EfficientNet-V2 B0"]
|
57 |
|
58 |
+
descr = f"""
|
59 |
+
Detecting AutoEncoder is Enough to Catch LDM Generated Images (https://arxiv.org/abs/2411.06441)
|
60 |
+
Code at https://github.com/qwertyforce/Detect_LDM_By_Detecting_VAE
|
61 |
+
Models at https://huggingface.co/qwertyforce/Detect_LDM_By_Detecting_VAE
|
62 |
+
"""
|
63 |
demo = gr.Interface(fn=detect,
|
64 |
inputs=[gr.Image(type="pil", label="Input Image"),
|
65 |
gr.Radio(
|
|
|
67 |
type="value",
|
68 |
value="EVA-02 ViT L/14",
|
69 |
label="Choose Detector Model",
|
70 |
+
)], outputs="text",title = "Detecting AutoEncoder is Enough to Catch LDM Generated Images",description=descr)
|
71 |
demo.launch()
|