anithai commited on
Commit
bbfe787
·
verified ·
1 Parent(s): 8fd69e9
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -4,10 +4,11 @@ import subprocess
4
  def chatbot_interface(question):
5
  try:
6
  result = subprocess.run(
7
- ['java', '-cp', '.:/content/json-20210307.jar', 'Main', question],
8
- capture_output=True,
9
- text=True
10
- )
 
11
 
12
  response = result.stdout.strip()
13
  error_output = result.stderr.strip()
 
4
  def chatbot_interface(question):
5
  try:
6
  result = subprocess.run(
7
+ ['java', '-cp', '.', 'Main', question],
8
+ capture_output=True,
9
+ text=True
10
+ )
11
+
12
 
13
  response = result.stdout.strip()
14
  error_output = result.stderr.strip()