jcleee commited on
Commit
d648767
·
verified ·
1 Parent(s): e9a8284

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ class BasicAgent:
14
  def __init__(self):
15
  host = os.getenv("SPACE_HOST", "https://jcleee-first-agent-template.hf.space")
16
  # <— use /api/predict here
17
- self.endpoint = f"https://{host}/run/"
18
 
19
  def __call__(self, question: str) -> str:
20
  try:
 
14
  def __init__(self):
15
  host = os.getenv("SPACE_HOST", "https://jcleee-first-agent-template.hf.space")
16
  # <— use /api/predict here
17
+ self.endpoint = f"https://{host}"
18
 
19
  def __call__(self, question: str) -> str:
20
  try: