Spaces:
Sleeping
Sleeping
Commit
·
ed8decf
1
Parent(s):
509afe3
Upload folder using huggingface_hub
Browse files- ._requirements.txt +0 -0
- .idea/._workspace.xml +0 -0
- .idea/workspace.xml +3 -0
- app.py +2 -3
- requirements.txt +5 -0
._requirements.txt
ADDED
Binary file (4.1 kB). View file
|
|
.idea/._workspace.xml
CHANGED
Binary files a/.idea/._workspace.xml and b/.idea/._workspace.xml differ
|
|
.idea/workspace.xml
CHANGED
@@ -20,6 +20,9 @@
|
|
20 |
<component name="Git.Settings">
|
21 |
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/FastingApp" />
|
22 |
</component>
|
|
|
|
|
|
|
23 |
<component name="ProjectColorInfo"><![CDATA[{
|
24 |
"associatedIndex": 2
|
25 |
}]]></component>
|
|
|
20 |
<component name="Git.Settings">
|
21 |
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/FastingApp" />
|
22 |
</component>
|
23 |
+
<component name="MarkdownSettingsMigration">
|
24 |
+
<option name="stateVersion" value="1" />
|
25 |
+
</component>
|
26 |
<component name="ProjectColorInfo"><![CDATA[{
|
27 |
"associatedIndex": 2
|
28 |
}]]></component>
|
app.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import joblib
|
4 |
-
import
|
5 |
-
from
|
6 |
-
from gpt4all import GPT4All
|
7 |
|
8 |
# Load the trained model
|
9 |
decision_tree_regressor = joblib.load('./decision_tree_regressor.joblib')
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import joblib
|
4 |
+
from gpt4all import GPT4Allt
|
5 |
+
from sklearn.tree import DecisionTreeRegressor
|
|
|
6 |
|
7 |
# Load the trained model
|
8 |
decision_tree_regressor = joblib.load('./decision_tree_regressor.joblib')
|
requirements.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
joblib~=1.2.0
|
2 |
+
gpt4all~=2.0.2
|
3 |
+
gradio
|
4 |
+
pandas
|
5 |
+
scikit-learn
|