Spaces:
Runtime error
Runtime error
Update app/app.py
Browse files- app/app.py +2 -2
app/app.py
CHANGED
@@ -8,9 +8,9 @@ app = Flask(__name__)
|
|
8 |
CORS(app)
|
9 |
|
10 |
# Load the graph and data
|
11 |
-
with open("
|
12 |
G = pickle.load(f)
|
13 |
-
df = pd.read_pickle("
|
14 |
|
15 |
|
16 |
# Define the endpoint to get closest card matches
|
|
|
8 |
CORS(app)
|
9 |
|
10 |
# Load the graph and data
|
11 |
+
with open("models/card_graph.pkl", "rb") as f:
|
12 |
G = pickle.load(f)
|
13 |
+
df = pd.read_pickle("data/oracle_cards_graph.pkl")
|
14 |
|
15 |
|
16 |
# Define the endpoint to get closest card matches
|