Spaces:
Running
Running
Update app.py
Browse filesAdded predict endpoint
app.py
CHANGED
|
@@ -127,8 +127,9 @@ demo = gr.Interface(
|
|
| 127 |
gr.Textbox(label="Verdict"),
|
| 128 |
gr.Textbox(label="Details"),
|
| 129 |
],
|
| 130 |
-
title="Image
|
| 131 |
description="Paste an image URL to estimate how likely it is AI-generated.",
|
|
|
|
| 132 |
)
|
| 133 |
|
| 134 |
if __name__ == "__main__":
|
|
|
|
| 127 |
gr.Textbox(label="Verdict"),
|
| 128 |
gr.Textbox(label="Details"),
|
| 129 |
],
|
| 130 |
+
title="Image Authenticicity",
|
| 131 |
description="Paste an image URL to estimate how likely it is AI-generated.",
|
| 132 |
+
api_name="predict",
|
| 133 |
)
|
| 134 |
|
| 135 |
if __name__ == "__main__":
|