Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def aiornot1(image):
|
|
58 |
AI: {px[1][0]}"""
|
59 |
return gr.HTML.update(html_out)
|
60 |
def aiornot2(image):
|
61 |
-
labels = ["
|
62 |
mod=models[2]
|
63 |
feature_extractor2 = AutoFeatureExtractor.from_pretrained(mod)
|
64 |
model2 = AutoModelForImageClassification.from_pretrained(mod)
|
|
|
58 |
AI: {px[1][0]}"""
|
59 |
return gr.HTML.update(html_out)
|
60 |
def aiornot2(image):
|
61 |
+
labels = ["AI", "Real"]
|
62 |
mod=models[2]
|
63 |
feature_extractor2 = AutoFeatureExtractor.from_pretrained(mod)
|
64 |
model2 = AutoModelForImageClassification.from_pretrained(mod)
|