imseldrith commited on
Commit
46693fb
1 Parent(s): 16ac46b

Update app.py

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