kamalcst commited on
Commit
d30eb1e
1 Parent(s): 4d751db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
 
3
- # Load the model and processor from Hugging Face
4
- model = "dima806/facial_age_image_detection"
5
- # Launch the Gradio application
6
- model.launch(share=True)
 
 
1
  import gradio as gr
2
 
3
+ # Load the model
4
+ model = gr.load("models/dima806/facial_age_image_detection")
5
+
6
+ # Launch the Gradio application with a public link
7
+ model.launch(share=True)"