demo-artist-classifier / gradio_artist_classifier.py
jaekookang
first upload
af72b72
raw history blame
No virus
443 Bytes
'''Artist Classifier
prototype
---
- 2022-01-18 jkang first created
'''
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import seaborn as sns
import gradio as gr
import tensorflow as tf
tfk = tf.keras
from gradcam_utils import get_img_4d_array, make_gradcam_heatmap, align_image_with_heatmap
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()