imseldrith commited on
Commit
2573c14
1 Parent(s): 2c82039

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+ import gradio as gr
3
+
4
+ def n(hi):
5
+ x = hi +" hi!"
6
+ return subprocess.run("python3 -m bot",shell=True)
7
+
8
+ gr.Interface(n, inputs="text",outputs="text",live=True).launch(debug=True)