MariaFilipkowska commited on
Commit
352a6e5
·
verified ·
1 Parent(s): 2788dde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def get_file_path(question: str) -> str:
46
 
47
  def get_ref_content(path: str) -> str | object:
48
  """Retrieves content from the reference path provided."""
49
- if path.startswith('http:'):
50
  file = requests.get(path).content
51
  else:
52
  with open(path, "rb") as f:
 
46
 
47
  def get_ref_content(path: str) -> str | object:
48
  """Retrieves content from the reference path provided."""
49
+ if path.startswith('http'):
50
  file = requests.get(path).content
51
  else:
52
  with open(path, "rb") as f: