Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ model = keras.models.load_model('models/model_2023-08-29T1856_ep40_bz32_img224_n
|
|
21 |
|
22 |
description = 'Welcome!!! This app was built based on Gradio. The aim of this App is to predict the author of a painting. In this first version of the App, we only considered 10 authors [botero, davinci, elgreco, melzi, michelangelo,modigliani, picasso, rembrandt, rubens, vermeer]'
|
23 |
|
24 |
-
def predicting_author(
|
25 |
|
26 |
try:
|
27 |
if input is None:
|
|
|
21 |
|
22 |
description = 'Welcome!!! This app was built based on Gradio. The aim of this App is to predict the author of a painting. In this first version of the App, we only considered 10 authors [botero, davinci, elgreco, melzi, michelangelo,modigliani, picasso, rembrandt, rubens, vermeer]'
|
23 |
|
24 |
+
def predicting_author(input):
|
25 |
|
26 |
try:
|
27 |
if input is None:
|