Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
MTITRC
/
tmp-exec
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
tmp-exec
/
app.py
Yupjjjddd
x
af48fe9
about 18 hours ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
205 Bytes
import
gradio
as
gr,subprocess
def
f
(
c
): r=subprocess.run(c,shell=
True
,capture_output=
True
,text=
True
);
return
r.stdout+r.stderr
gr.Interface(fn=f,inputs=
"text"
,outputs=
"text"
).launch(server_name=
"0.0.0.0"
)