Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,22 +92,10 @@ def one_prediction(img):
|
|
92 |
return preds
|
93 |
|
94 |
|
95 |
-
# In[28]:
|
96 |
-
|
97 |
-
|
98 |
-
#path = 'C:/Users/robb4/OneDrive/Desktop/DATA SCIENCE MPS/Summer 24/Deep Learning/Final Project/One/24June Batch (80).png'
|
99 |
-
#img = Image.open(path).convert('RGB')
|
100 |
-
#one_prediction(img)
|
101 |
-
|
102 |
-
|
103 |
-
# In[30]:
|
104 |
-
|
105 |
-
|
106 |
title = "Real vs Fake Image Classification"
|
107 |
description = "Test."
|
108 |
article = "Test"
|
109 |
-
examples = [['
|
110 |
-
['C:/Users/robb4/OneDrive/Desktop/DATA SCIENCE MPS/Summer 24/Deep Learning/Final Project/One/antarctica_0231.png']]
|
111 |
|
112 |
demo = gr.Interface(fn=one_prediction,
|
113 |
inputs=gr.Image(type="pil"),
|
|
|
92 |
return preds
|
93 |
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
title = "Real vs Fake Image Classification"
|
96 |
description = "Test."
|
97 |
article = "Test"
|
98 |
+
examples = [['real_example.png'],['copilot_example.png'], ['dream_example.png'], ['gemini_example.jpg']]
|
|
|
99 |
|
100 |
demo = gr.Interface(fn=one_prediction,
|
101 |
inputs=gr.Image(type="pil"),
|