Edward Tan commited on
Commit
c61c465
·
1 Parent(s): aa1f267

My first model

Browse files
Files changed (3) hide show
  1. app.py +13 -0
  2. images/grizzly.jpg +0 -0
  3. model/trained_image_model.pkl +3 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name, intensity):
4
+ return "Hello, " + name + "!" * int(intensity)
5
+
6
+ demo = gr.Interface(
7
+ fn=greet,
8
+ inputs=["text", "slider"],
9
+ outputs=["text"],
10
+ analytics_enabled=False
11
+ )
12
+
13
+ demo.launch(auth=("admin", "pass1234"), share=True)
images/grizzly.jpg ADDED
model/trained_image_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1f7574c0808ce7d3d717cbea3c6d2af91d76886da51bd0a7e78aee877eec785
3
+ size 46976898