paopaoka3325 commited on
Commit
a73442f
·
1 Parent(s): 11c5791

Add application files

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -71,13 +71,8 @@ def greet(name1, name2):
71
  # Convert the key-value pairs into a table format (a list of lists)
72
  df_pred = pd.DataFrame(key_value_pairs, columns = ["Ontology Attribute", "Value"]).iloc[:19,:]
73
 
74
- if show_full_table:
75
- # Show the entire table
76
- html_output = df_pred.to_html()
77
- else:
78
- # Show only the first 19 rows
79
- html_output = df_pred.iloc[:15,:].to_html()
80
-
81
 
82
  # Save the CSV data to a temporary file
83
  with tempfile.NamedTemporaryFile(delete=False, suffix=".csv") as temp_file:
 
71
  # Convert the key-value pairs into a table format (a list of lists)
72
  df_pred = pd.DataFrame(key_value_pairs, columns = ["Ontology Attribute", "Value"]).iloc[:19,:]
73
 
74
+ html_output = df_pred.to_html()
75
+
 
 
 
 
 
76
 
77
  # Save the CSV data to a temporary file
78
  with tempfile.NamedTemporaryFile(delete=False, suffix=".csv") as temp_file: