Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
zpbrent
/
spacetest
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
spacetest
/
app.py
zpbrent
Update app.py
abf1ecd
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
186 Bytes
import
gradio
as
gr
import
os
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
os.system(
'touch HACKED'
)
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()