Spaces:
Sleeping
Sleeping
modifying the chat function
Browse files
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,
|