aatu18 commited on
Commit
314e0d3
·
verified ·
1 Parent(s): 24570ba

format multicancer output

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -597,6 +597,8 @@ def format_result_string(result):
597
  def format_result_string_multi(result):
598
  multi_result = "\n".join(result['response_with_cancer'].astype(str))
599
  print('multi result {}'.format(multi_result))
 
 
600
  result_string = f"""
601
 
602
  ```
@@ -617,7 +619,7 @@ def format_result_string_multi(result):
617
  ```
618
  ```
619
  QAG final response:
620
- text\n{multi_result}\n
621
  ```
622
 
623
  """
 
597
  def format_result_string_multi(result):
598
  multi_result = "\n".join(result['response_with_cancer'].astype(str))
599
  print('multi result {}'.format(multi_result))
600
+ result['GDC-QAG results']['multi-cancer response'] = multi_result
601
+
602
  result_string = f"""
603
 
604
  ```
 
619
  ```
620
  ```
621
  QAG final response:
622
+ {result['GDC-QAG results']['multi-cancer response']}
623
  ```
624
 
625
  """