Gavin Francis commited on
Commit
7171e7e
1 Parent(s): 7c9dc7f

Added requirements.txt and a title

Browse files
Files changed (2) hide show
  1. FilmStarsApp.ipynb +2 -2
  2. requirements.txt +2 -0
FilmStarsApp.ipynb CHANGED
@@ -157,8 +157,8 @@
157
  "image = gr.components.Image()\n",
158
  "label = gr.components.Label()\n",
159
  "examples = ['Angelina Jolie.jpg','Penelope Cruz.jpg','Jack Nicholson.jpg']\n",
160
- "\n",
161
- "intfr = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)\n",
162
  "intfr.launch(inline=False)"
163
  ]
164
  },
 
157
  "image = gr.components.Image()\n",
158
  "label = gr.components.Label()\n",
159
  "examples = ['Angelina Jolie.jpg','Penelope Cruz.jpg','Jack Nicholson.jpg']\n",
160
+ "title = \"Identify film stars similar to your image\"\n",
161
+ "intfr = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples, title=title)\n",
162
  "intfr.launch(inline=False)"
163
  ]
164
  },
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ fastai
2
+ scikit-image