Spaces:
Runtime error
Runtime error
durgaamma2005
commited on
Commit
•
a2ebe2f
1
Parent(s):
d9e2b23
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ title = "Modi, 2014ka, 2021ka"
|
|
12 |
description = "Its fun project to predict whether modi image is from 2014 time period or from 2021, based on his beard size"
|
13 |
article="<p style='text-align: center'><a href='https://mldurga.github.io/easydl/fastbook/2021/08/04/Fastbook-chapter2.html' target='_blank'>Blog post</a></p>"
|
14 |
interpretation='default'
|
15 |
-
examples = ['2014_1.jpg','
|
16 |
|
17 |
enable_queue=True
|
18 |
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,interpretation=interpretation,enable_queue=enable_queue,examples=examples).launch()
|
|
|
12 |
description = "Its fun project to predict whether modi image is from 2014 time period or from 2021, based on his beard size"
|
13 |
article="<p style='text-align: center'><a href='https://mldurga.github.io/easydl/fastbook/2021/08/04/Fastbook-chapter2.html' target='_blank'>Blog post</a></p>"
|
14 |
interpretation='default'
|
15 |
+
examples = ['2014_1.jpg','21.jfif']
|
16 |
|
17 |
enable_queue=True
|
18 |
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,interpretation=interpretation,enable_queue=enable_queue,examples=examples).launch()
|