Commit
·
d609452
1
Parent(s):
3fb8935
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
|
|
1 |
import requests
|
2 |
import tensorflow as tf
|
3 |
-
|
4 |
import gradio as gr
|
5 |
|
6 |
inception_net = tf.keras.applications.MobileNetV2() # load the model
|
@@ -20,7 +20,7 @@ def classify_image(inp):
|
|
20 |
image = gr.Image(shape=(224, 224))
|
21 |
label = gr.Label(num_top_classes=3)
|
22 |
|
23 |
-
title="
|
24 |
gr.Interface(
|
25 |
fn=classify_image, inputs=image, outputs=label, interpretation="default",title=title
|
26 |
).launch()
|
|
|
1 |
+
""" Editing The Processs"""
|
2 |
import requests
|
3 |
import tensorflow as tf
|
|
|
4 |
import gradio as gr
|
5 |
|
6 |
inception_net = tf.keras.applications.MobileNetV2() # load the model
|
|
|
20 |
image = gr.Image(shape=(224, 224))
|
21 |
label = gr.Label(num_top_classes=3)
|
22 |
|
23 |
+
title="CAPSTONE FACIAL INTERPRETATION USING GRADIO AND TENSORFLOW"
|
24 |
gr.Interface(
|
25 |
fn=classify_image, inputs=image, outputs=label, interpretation="default",title=title
|
26 |
).launch()
|