Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
AhmadMustafa
/
test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c001f71
test
/
app.py
AhmadMustafa
Update app.py
fac55ce
verified
7 months ago
raw
Copy download link
history
blame
205 Bytes
import
gradio
as
gr
from
ultralytics
import
YOLO
model = YOLO(
"yolo11n.pt"
)
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch()