anithai commited on
Commit
8a895a1
·
verified ·
1 Parent(s): 6cbc0b7
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  import subprocess
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."
 
1
  import gradio as gr
2
  import subprocess
3
+ import shutil # For locating Java path dynamically
4
 
5
  def chatbot_interface(question):
6
+ java_path = shutil.which("java") # Finds Java path dynamically
7
 
8
  if not java_path:
9
  return "Error: Java is not installed or not found in PATH."