Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,6 @@ def predict(img) -> Tuple[Dict, float]:
|
|
| 53 |
# Create title for the gradio
|
| 54 |
title = "Object Classifier - Erdem Atak Version"
|
| 55 |
description = "ViT computer vision model to classify CIFAR-10 objects"
|
| 56 |
-
article = "PyTorch Model Deployment"
|
| 57 |
|
| 58 |
# Create example list
|
| 59 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
@@ -67,7 +66,7 @@ demo = gr.Interface(fn = predict, # it maps inputs to outputs
|
|
| 67 |
examples = example_list, # example list above
|
| 68 |
title = title,
|
| 69 |
description = description,
|
| 70 |
-
|
| 71 |
|
| 72 |
# launch the demo
|
| 73 |
demo.launch(debug = False,
|
|
|
|
| 53 |
# Create title for the gradio
|
| 54 |
title = "Object Classifier - Erdem Atak Version"
|
| 55 |
description = "ViT computer vision model to classify CIFAR-10 objects"
|
|
|
|
| 56 |
|
| 57 |
# Create example list
|
| 58 |
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
|
|
|
| 66 |
examples = example_list, # example list above
|
| 67 |
title = title,
|
| 68 |
description = description,
|
| 69 |
+
)
|
| 70 |
|
| 71 |
# launch the demo
|
| 72 |
demo.launch(debug = False,
|