How to add java_home in HF space(spark + llama)
While running HF i got the error(For reference here is the space:Llama 2 Summarizer - a Hugging Face Space by Andyrasika):Runtime errorJAVA_HOME is not setTraceback (most recent call last):File “/home/user/app/app.py”, line 24, indf_chapters = create_spark_dataframe(text)File “/home/user/app/app.py”, line 15, in create_spark_dataframespark = SparkSession.builder.appName(“Counting word occurrences from a book, under a microscope.”).config(“spark.driver.memory”, “4g”).getOrCreate()File “/home/user/.local/lib/python3.10/site-packages/pyspark/sql/session.py”, line 477, in getOrCreatesc = SparkContext.getOrCreate(sparkConf)File “/home/user/.local/lib/python3.10/site-packages/pyspark/context.py”, line 512, in getOrCreateSparkContext(conf=conf or SparkConf())File “/home/user/.local/lib/python3.10/site-packages/pyspark/context.py”, line 198, in initSparkContext._ensure_initialized(self, gateway=gateway, conf=conf)File “/home/user/.local/lib/python3.10/site-packages/pyspark/context.py”, line 432, in _ensure_initializedSparkContext._gateway = gateway or launch_gateway(conf)File “/home/user/.local/lib/python3.10/site-packages/pyspark/java_gateway.py”, line 106, in launch_gatewayraise RuntimeError(“Java gateway process exited before sending its port number”)RuntimeError: Java gateway process exited before sending its port number, my space: