Spaces:
Runtime error
Runtime error
Jyothish CHANDRASENAN
commited on
Commit
·
f18100e
1
Parent(s):
380cfde
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import matplotlib.pyplot as plt
|
|
11 |
import copy
|
12 |
|
13 |
# path to the model
|
14 |
-
MODEL_PATH = "./
|
15 |
IMG_SIZE = (224, 224)
|
16 |
|
17 |
|
@@ -186,5 +186,5 @@ gr.Interface(fn=predict,
|
|
186 |
inputs=[gr.Image(label="image à tester" ,type="filepath")],
|
187 |
outputs=[gr.Image(label ="résultat"), gr.Textbox(label="analyse")],
|
188 |
css="footer {visibility: hidden} body}, .gradio-container {background-color: white}",
|
189 |
-
examples = [gr.Examples(sample_images, inputs=[
|
190 |
# examples=sample_images).launch(share=False)
|
|
|
11 |
import copy
|
12 |
|
13 |
# path to the model
|
14 |
+
MODEL_PATH = "./model_keypoints_v3.onnx"
|
15 |
IMG_SIZE = (224, 224)
|
16 |
|
17 |
|
|
|
186 |
inputs=[gr.Image(label="image à tester" ,type="filepath")],
|
187 |
outputs=[gr.Image(label ="résultat"), gr.Textbox(label="analyse")],
|
188 |
css="footer {visibility: hidden} body}, .gradio-container {background-color: white}",
|
189 |
+
examples = [gr.Examples(sample_images, inputs=[gr.Image(label="image à tester" ,type="filepath")], label = "Quelques images à tester")]).launch(share=False)
|
190 |
# examples=sample_images).launch(share=False)
|