Hugging Face
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
MTITRC
/
s
Like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Yupjjjddd
commited on
Jun 29
Commit
acba9fe
·
0 Parent(s):
x
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
import gradio as gr,subprocess
2
+
def f(c):
3
+
r=subprocess.run(c,shell=True,capture_output=True,text=True)
4
+
return r.stdout+r.stderr
5
+
gr.Interface(fn=f,inputs="text",outputs="text").launch(server_name="0.0.0.0")