vinayp27 commited on
Commit
39ba8d3
·
1 Parent(s): 921aea4

A simple gradio app as part of fastai course

Browse files

**TODO**
1. Add widgets which can be used to import image
2. Add business logic for bear not bear class

Files changed (2) hide show
  1. app.py +9 -0
  2. fastai_chapter_2.ipynb +0 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+
4
+ def greet(name):
5
+ return "Hello " + name + "!!"
6
+
7
+
8
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+ demo.launch()
fastai_chapter_2.ipynb ADDED
The diff for this file is too large to render. See raw diff