Chaninder Rishi commited on
Commit
c8a967d
1 Parent(s): d87cb47
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import tensorflow as tf
2
 
3
  inception_net = tf.keras.applications.MobileNetV2()
@@ -20,3 +21,12 @@ gr.Interface(fn=classify_image,
20
  outputs=gr.Label(num_top_classes=3),
21
  #examples=["banana.jpg", "car.jpg"]
22
  ).launch(share=True)
 
 
 
 
 
 
 
 
 
 
1
+ """
2
  import tensorflow as tf
3
 
4
  inception_net = tf.keras.applications.MobileNetV2()
 
21
  outputs=gr.Label(num_top_classes=3),
22
  #examples=["banana.jpg", "car.jpg"]
23
  ).launch(share=True)
24
+ """
25
+
26
+ import gradio as gr
27
+
28
+ def greet(name):
29
+ return "Hello " + name + "!!"
30
+
31
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
32
+ iface.launch()