Spaces:
Sleeping
Sleeping
title added
Browse files
app.py
CHANGED
@@ -42,7 +42,11 @@ import numpy as np
|
|
42 |
import gradio as gr
|
43 |
|
44 |
|
45 |
-
demo = gr.Interface(predict,
|
|
|
|
|
|
|
|
|
46 |
if __name__ == "__main__":
|
47 |
demo.launch()
|
48 |
|
|
|
42 |
import gradio as gr
|
43 |
|
44 |
|
45 |
+
demo = gr.Interface(predict,
|
46 |
+
gr.Image(),
|
47 |
+
"label",
|
48 |
+
title="ResNet-18_1K 🚗",
|
49 |
+
description="Upload an image to see classification probabilities based on ResNet-18 with 1K classes",)
|
50 |
if __name__ == "__main__":
|
51 |
demo.launch()
|
52 |
|