om4r932 commited on
Commit
ad4af0c
·
1 Parent(s): 5938f28

Add RAN support (Batch/Single)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -263,7 +263,7 @@ class TsgDocFinder:
263
  json.dump(output, f, indent=4, ensure_ascii=False)
264
 
265
  def get_workgroup(self, doc):
266
- main_tsg = "tsg_ct" if doc[0] == "C" else "tsg_sa" if doc[0] == "S" else None
267
  if main_tsg is None:
268
  return None, None, None
269
  workgroup = f"WG{int(doc[1])}" if doc[1].isnumeric() else main_tsg.upper()
 
263
  json.dump(output, f, indent=4, ensure_ascii=False)
264
 
265
  def get_workgroup(self, doc):
266
+ main_tsg = "tsg_ct" if doc[0] == "C" else "tsg_sa" if doc[0] == "S" else "tsg_ran" if doc[0] == "R" else None
267
  if main_tsg is None:
268
  return None, None, None
269
  workgroup = f"WG{int(doc[1])}" if doc[1].isnumeric() else main_tsg.upper()