jerry2247 commited on
Commit
00836ce
·
verified ·
1 Parent(s): e8c13db

Update app.py

Browse files

Added predict endpoint

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -127,8 +127,9 @@ demo = gr.Interface(
127
  gr.Textbox(label="Verdict"),
128
  gr.Textbox(label="Details"),
129
  ],
130
- title="Image Authenticity",
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__":