molher commited on
Commit
671719d
1 Parent(s): a9f1065

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -94,7 +94,11 @@ for i in range(10):
94
 
95
  print()
96
 
97
-
 
 
 
 
98
  interface = gr.Interface(
99
  fn=predict,
100
  inputs=gr.inputs.Image(label="Input Image", type="pil"),
@@ -102,6 +106,8 @@ interface = gr.Interface(
102
  gr.outputs.Label(label="Class"),
103
  gr.outputs.Image(label="Face")
104
  ],
 
 
105
  #examples=[examples[i]["path"] for i in range(8)] # fake examples
106
  examples=['fake_frame_0.jpg','fake_frame_1.jpg','fake_frame_2.jpg','fake_frame_3.jpg','real_frame_0.jpg','real_frame_1.jpg','real_frame_2.jpg','real_frame_3.jpg']
107
  ).launch()
 
94
 
95
  print()
96
 
97
+ title='Fake or not Fake? that is the question'
98
+ description='Modelo de deeplearning para clasificar las imagenes en reales o falsas'
99
+ article='Proyecto Saturdays.AI DemoDay 11/06/2022.
100
+
101
+
102
  interface = gr.Interface(
103
  fn=predict,
104
  inputs=gr.inputs.Image(label="Input Image", type="pil"),
 
106
  gr.outputs.Label(label="Class"),
107
  gr.outputs.Image(label="Face")
108
  ],
109
+ title=title,description=description, article=article,
110
+ theme='peach'
111
  #examples=[examples[i]["path"] for i in range(8)] # fake examples
112
  examples=['fake_frame_0.jpg','fake_frame_1.jpg','fake_frame_2.jpg','fake_frame_3.jpg','real_frame_0.jpg','real_frame_1.jpg','real_frame_2.jpg','real_frame_3.jpg']
113
  ).launch()