wylum commited on
Commit
dfd4c59
·
verified ·
1 Parent(s): ee7ba6e

Update app-azure.py

Browse files
Files changed (1) hide show
  1. app-azure.py +4 -4
app-azure.py CHANGED
@@ -105,11 +105,11 @@ def enable_api_box():
105
 
106
  def set_DRlink(dr_link: str):
107
  print("DR Link set")
108
- chat_history = []
109
- history = []
110
- #count = 0
111
  dr_link_url = 'https://repository.lib.cuhk.edu.hk/en/islandora/object/cuhk%3A'+ dr_link + '/datastream/PDF/'
112
- app.DR_LINK = dr_link
113
  hdr = { 'User-Agent' : user_agent }
114
 
115
  response = requests.get(dr_link_url, headers=hdr)
 
105
 
106
  def set_DRlink(dr_link: str):
107
  print("DR Link set")
108
+ #chat_history = []
109
+ #history = []
110
+
111
  dr_link_url = 'https://repository.lib.cuhk.edu.hk/en/islandora/object/cuhk%3A'+ dr_link + '/datastream/PDF/'
112
+ #app.DR_LINK = dr_link
113
  hdr = { 'User-Agent' : user_agent }
114
 
115
  response = requests.get(dr_link_url, headers=hdr)