imseldrith commited on
Commit
f4ddd31
·
1 Parent(s): 4840170

Update app.py

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