bentebbutt commited on
Commit
b912f4f
·
verified ·
1 Parent(s): f8872c8

Update backend/app.py

Browse files
Files changed (1) hide show
  1. backend/app.py +2 -2
backend/app.py CHANGED
@@ -10,7 +10,7 @@ import requests
10
 
11
  def connect_to_ollama():
12
  try:
13
- response = requests.get('http://bentebbutt-langroid-custom-front-end.hf.space:11434')
14
  if response.status_code == 200:
15
  print('Connected to ollama server')
16
  else:
@@ -41,7 +41,7 @@ async def on_chat_start():
41
  temperature=0.2,
42
  stream=True,
43
  timeout=45,
44
- base_url="http://bentebbutt-langroid-custom-front-end.hf.space",
45
 
46
  )
47
 
 
10
 
11
  def connect_to_ollama():
12
  try:
13
+ response = requests.get('https://bentebbutt-langroid-custom-front-end.hf.space:11434')
14
  if response.status_code == 200:
15
  print('Connected to ollama server')
16
  else:
 
41
  temperature=0.2,
42
  stream=True,
43
  timeout=45,
44
+ base_url="https://bentebbutt-langroid-custom-front-end.hf.space",
45
 
46
  )
47