Spaces:
Sleeping
Sleeping
kgauvin603
commited on
Commit
•
34f1bc0
1
Parent(s):
32fd987
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,17 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
# Run the training script placed in the same directory as app.py
|
3 |
# The training script will train and persist a linear regression
|
4 |
# model with the filename 'model.joblib'
|
|
|
1 |
|
2 |
+
import os
|
3 |
+
import gradio as gr
|
4 |
+
import joblib
|
5 |
+
import subprocess
|
6 |
+
import pandas as pd
|
7 |
+
import json
|
8 |
+
from pathlib import Path
|
9 |
+
from threading import Lock
|
10 |
+
from huggingface_hub import CommitScheduler
|
11 |
+
import uuid
|
12 |
+
from huggingface_hub import HfApi
|
13 |
+
|
14 |
+
|
15 |
# Run the training script placed in the same directory as app.py
|
16 |
# The training script will train and persist a linear regression
|
17 |
# model with the filename 'model.joblib'
|