herMaster commited on
Commit
be6a71f
·
1 Parent(s): 2a3df07

modifying the chat function

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -44,7 +44,8 @@ def chat(question):
44
  ]
45
 
46
  # Run the command
47
- subprocess.run(command)
 
48
 
49
  screen = gr.Interface(
50
  fn = chat,
 
44
  ]
45
 
46
  # Run the command
47
+ output = subprocess.run(command)
48
+ return output
49
 
50
  screen = gr.Interface(
51
  fn = chat,