Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -209,10 +209,11 @@ NOTE:
|
|
209 |
- Images scoring as very probably artificial (e.g. 90% or higher) could be referred to a human expert for further investigation, if needed.
|
210 |
"""
|
211 |
|
212 |
-
interface2 = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label", theme = my_theme, title=title1, description=description1, article = article1)
|
|
|
213 |
#demo.launch(show_api=False)
|
214 |
|
215 |
-
'''
|
216 |
interface2 = gr.Interface(
|
217 |
fn=image_classifier,
|
218 |
inputs=[
|
@@ -230,7 +231,7 @@ interface2 = gr.Interface(
|
|
230 |
description = description1,
|
231 |
article = article1
|
232 |
)
|
233 |
-
'''
|
234 |
|
235 |
gr.TabbedInterface(
|
236 |
[interface1, interface2], ["Deepfake Image Detection", "AI Image Detection"]
|
|
|
209 |
- Images scoring as very probably artificial (e.g. 90% or higher) could be referred to a human expert for further investigation, if needed.
|
210 |
"""
|
211 |
|
212 |
+
#interface2 = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label", theme = my_theme, title=title1, description=description1, article = article1)
|
213 |
+
|
214 |
#demo.launch(show_api=False)
|
215 |
|
216 |
+
#'''
|
217 |
interface2 = gr.Interface(
|
218 |
fn=image_classifier,
|
219 |
inputs=[
|
|
|
231 |
description = description1,
|
232 |
article = article1
|
233 |
)
|
234 |
+
#'''
|
235 |
|
236 |
gr.TabbedInterface(
|
237 |
[interface1, interface2], ["Deepfake Image Detection", "AI Image Detection"]
|