Update app.py
Browse files
app.py
CHANGED
@@ -72,8 +72,8 @@ class Seafoam(Base):
|
|
72 |
)
|
73 |
|
74 |
seafoam = Seafoam()
|
75 |
-
gr.themes.Soft()
|
76 |
-
gr.themes.builder()
|
77 |
|
78 |
|
79 |
pipe = pipeline("image-classification", "nightfury/AI-picture-detector")
|
@@ -203,7 +203,7 @@ NOTE:
|
|
203 |
- Images scoring as very probably artificial (e.g. 90% or higher) could be referred to a human expert for further investigation, if needed.
|
204 |
"""
|
205 |
|
206 |
-
interface2 = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label", title=title1, description=description1, article = article1)
|
207 |
#demo.launch(show_api=False)
|
208 |
|
209 |
'''
|
|
|
72 |
)
|
73 |
|
74 |
seafoam = Seafoam()
|
75 |
+
#gr.themes.Soft()
|
76 |
+
#gr.themes.builder()
|
77 |
|
78 |
|
79 |
pipe = pipeline("image-classification", "nightfury/AI-picture-detector")
|
|
|
203 |
- Images scoring as very probably artificial (e.g. 90% or higher) could be referred to a human expert for further investigation, if needed.
|
204 |
"""
|
205 |
|
206 |
+
interface2 = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label", theme = seafoam, title=title1, description=description1, article = article1)
|
207 |
#demo.launch(show_api=False)
|
208 |
|
209 |
'''
|