nightfury commited on
Commit
cbc66e3
1 Parent(s): 84a7638

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -34
app.py CHANGED
@@ -137,41 +137,15 @@ interface1 = gr.Interface(
137
 
138
  title1 = "AI Generated Image Detection"
139
  description1 = "~ AI - ML implementation for AI image detection using older models such as VQGAN+CLIP."
140
- article1 = "<p style='text-align: center'>
 
 
 
 
 
 
 
141
  """
142
- NOTE: To detect pictures generated using older models such as VQGAN+CLIP, please use the updated version of this detector instead.
143
-
144
- In this model i'm using a ViT model to predict whether an artistic image was generated using AI or not.
145
-
146
- The training dataset didn't include any samples generated from Midjourney 5, SDXL, or DALLE-3. But was trained on outputs of their predecessors.
147
-
148
- Scope of this tool is artistic images; that is to say, it is not a deepfake photo detector, and general computer imagery (webcams, screenshots, etc.) may throw it off.
149
-
150
- The potential indicator for this tool is to serve to detect whether an image was AI-generated or not.
151
-
152
- Images scoring as very probably artificial (e.g. 90% or higher) could be referred to a human expert for further investigation, if needed.
153
- Model Trained Using AutoTrain
154
-
155
- Problem type: Binary Classification
156
- Model ID: 151965872
157
- CO2 Emissions (in grams): 7.9405
158
-
159
- Validation Metrics
160
-
161
- Loss: 0.163
162
- Accuracy: 0.942
163
- Precision: 0.938
164
- Recall: 0.978
165
- AUC: 0.980
166
- F1: 0.958
167
-
168
- License Notice
169
-
170
- This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.
171
-
172
- You may distribute and make this model available to others as part of your own web page, app, or service so long as you provide attribution. However, use of this model within text-to-image systems to evade AI image detection would be considered a "derivative work" and as such prohibited by the license terms.
173
- """
174
- </p>"
175
 
176
  interface1 = gr.Interface(
177
  fn=image_classifier,
 
137
 
138
  title1 = "AI Generated Image Detection"
139
  description1 = "~ AI - ML implementation for AI image detection using older models such as VQGAN+CLIP."
140
+ article1 = """
141
+ NOTE:
142
+ - To detect pictures generated using older models such as VQGAN+CLIP, please use the updated version of this detector instead.
143
+ - In this model i'm using a ViT model to predict whether an artistic image was generated using AI or not.
144
+ - The training dataset didn't include any samples generated from Midjourney 5, SDXL, or DALLE-3. But was trained on outputs of their predecessors.
145
+ - Scope of this tool is 'artistic images'; that is to say, it is not a deepfake photo detector, and general computer imagery (webcams, screenshots, etc.) may throw it off.
146
+ - The potential indicator for this tool is to serve to detect whether an image was AI-generated or not.
147
+ - Images scoring as very probably artificial (e.g. 90% or higher) could be referred to a human expert for further investigation, if needed.
148
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
  interface1 = gr.Interface(
151
  fn=image_classifier,