Jimin Park commited on
Commit
f0cfa74
·
1 Parent(s): f44ad64

added model

Browse files
Files changed (1) hide show
  1. app.py +2 -16
app.py CHANGED
@@ -44,7 +44,7 @@ with gr.Blocks() as demo:
44
 
45
  # Load the model from Hugging Face
46
  model = xgb.Booster() # Initialize model
47
- # model.load_model("path_to_your_model") # Load your model
48
 
49
  # Define champion list for dropdowns
50
  CHAMPIONS = [
@@ -123,18 +123,4 @@ with gr.Blocks() as demo:
123
  )
124
 
125
  # Add this line at the end
126
- demo.queue() # Enable queuing for better handling of multiple users
127
-
128
-
129
-
130
- # .gitignore
131
- """
132
- __pycache__/
133
- *.py[cod]
134
- *$py.class
135
- .env
136
- .venv
137
- env/
138
- venv/
139
- .DS_Store
140
- """
 
44
 
45
  # Load the model from Hugging Face
46
  model = xgb.Booster() # Initialize model
47
+ model.load_model("ivwhy/champion-predictor-model") # Load your model
48
 
49
  # Define champion list for dropdowns
50
  CHAMPIONS = [
 
123
  )
124
 
125
  # Add this line at the end
126
+ demo.queue() # Enable queuing for better handling of multiple users