app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import subprocess
|
|
| 3 |
import shutil # To locate the Java path dynamically
|
| 4 |
|
| 5 |
def chatbot_interface(question):
|
| 6 |
-
java_path = shutil.which("java") # Finds
|
| 7 |
|
| 8 |
if not java_path:
|
| 9 |
return "Error: Java is not installed or not found in PATH."
|
|
|
|
| 3 |
import shutil # To locate the Java path dynamically
|
| 4 |
|
| 5 |
def chatbot_interface(question):
|
| 6 |
+
java_path = shutil.which("java") # Finds Java path
|
| 7 |
|
| 8 |
if not java_path:
|
| 9 |
return "Error: Java is not installed or not found in PATH."
|