imseldrith commited on
Commit
3cd9594
·
1 Parent(s): 13d0b76

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
+ import main
4
+ def ru(hi):
5
+ #print(bot)
6
+ print("hi" + hi)
7
+ return subprocess.run("python3 main.py",shell=True)
8
+ gr.Interface(fn=ru,inputs="text",outputs="text",live=True).launch(debug=True)