jithenderchoudary commited on
Commit
5bc4dbc
·
verified ·
1 Parent(s): 93a1e91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -5,14 +5,13 @@ import pandas as pd
5
  import pickle
6
 
7
  # Ensure the project root is in the Python path
8
- sys.path.append(os.paimport gradio as gr
9
- import numpy as np
10
- import pandas as pd
11
- from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
12
- from joblib import dump, load
13
- from ansys.mapdl.core import launch_mapdl
14
- import matplotlib.pyplot as plt
15
  import os
 
 
 
 
 
16
 
17
  # ========== Train AI Models ==========
18
  def train_models():
 
5
  import pickle
6
 
7
  # Ensure the project root is in the Python path
8
+ import sys
 
 
 
 
 
 
9
  import os
10
+ import gradio as gr
11
+
12
+ # Add the necessary paths
13
+ sys.path.append(os.path.abspath("path_to_your_directory"))
14
+
15
 
16
  # ========== Train AI Models ==========
17
  def train_models():