nightfury commited on
Commit
987a239
1 Parent(s): d797fc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -89,6 +89,10 @@ def predict(input_image:Image.Image, true_label:str):
89
  }
90
  return confidences, true_label, face_with_mask
91
 
 
 
 
 
92
  interface = gr.Interface(
93
  fn=predict,
94
  inputs=[
@@ -100,5 +104,5 @@ interface = gr.Interface(
100
  "text",
101
  gr.outputs.Image(label="Face with Explainability")
102
  ],
103
- examples=[[examples[i]["path"], examples[i]["label"]] for i in range(10)]
104
- ).launch()
 
89
  }
90
  return confidences, true_label, face_with_mask
91
 
92
+ title = "Deepfake Detection"
93
+ description = ""
94
+ article = "<p style='text-align: center'>by</p>"
95
+
96
  interface = gr.Interface(
97
  fn=predict,
98
  inputs=[
 
104
  "text",
105
  gr.outputs.Image(label="Face with Explainability")
106
  ],
107
+ #examples=[[examples[i]["path"], examples[i]["label"]] for i in range(10)]
108
+ ).launch(share=True)