Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def aiornot1(image):
|
|
| 113 |
fin_sum.append(results)
|
| 114 |
return gr.HTML.update(html_out),results
|
| 115 |
def aiornot2(image):
|
| 116 |
-
labels = ["
|
| 117 |
mod=models[2]
|
| 118 |
feature_extractor2 = AutoFeatureExtractor.from_pretrained(mod)
|
| 119 |
model2 = AutoModelForImageClassification.from_pretrained(mod)
|
|
|
|
| 113 |
fin_sum.append(results)
|
| 114 |
return gr.HTML.update(html_out),results
|
| 115 |
def aiornot2(image):
|
| 116 |
+
labels = ["AI", "Real"]
|
| 117 |
mod=models[2]
|
| 118 |
feature_extractor2 = AutoFeatureExtractor.from_pretrained(mod)
|
| 119 |
model2 = AutoModelForImageClassification.from_pretrained(mod)
|