akhaliq HF staff commited on
Commit
d0c7c3c
1 Parent(s): 4e99c74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -215,8 +215,8 @@ def inference(img):
215
  result[classes[class_index]] = probabilities[0][top_5][i].item()
216
  return result
217
 
218
- title="inception_v3"
219
- description="Gradio Demo for inception_v3: [TF2] Imagenet (ILSVRC-2012-CLS) classification with Inception V3. To use it, simply upload your image or click on one of the examples to load them. Read more at the links below"
220
- article = "<p style='text-align: center'><a href='https://tfhub.dev/google/imagenet/mobilenet_v3_large_075_224/classification/5' target='_blank'>Tensorflow Hub</a></p>"
221
  examples=[['apple1.jpg']]
222
  gr.Interface(inference,gr.inputs.Image(type="filepath"),"label",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)
 
215
  result[classes[class_index]] = probabilities[0][top_5][i].item()
216
  return result
217
 
218
+ title="mobilenet_v2_100_224"
219
+ description="Gradio Demo for mobilenet_v2_100_224: Imagenet (ILSVRC-2012-CLS) classification with MobileNet V2 (depth multiplier 1.00). To use it, simply upload your image or click on one of the examples to load them. Read more at the links below"
220
+ article = "<p style='text-align: center'><a href='https://tfhub.dev/google/imagenet/mobilenet_v2_100_224/classification/5' target='_blank'>Tensorflow Hub</a></p>"
221
  examples=[['apple1.jpg']]
222
  gr.Interface(inference,gr.inputs.Image(type="filepath"),"label",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)