Skip to content

Commit

Permalink
update api base ur to be from env
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKhalili committed Oct 2, 2024
1 parent 753809b commit a7d6789
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/api.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import os
from typing import Optional

from dotenv import load_dotenv
import pandas as pd
import requests


BASE_URL = "http://localhost:8000"
load_dotenv()

BASE_URL = os.environ["BACKEND_URL"]


def api(
Expand Down

0 comments on commit a7d6789

Please sign in to comment.