Spaces:
Runtime error
Runtime error
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
- app.py +9 -0
- 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
|
|
|