NLPV commited on
Commit
7040da3
·
verified ·
1 Parent(s): 8d9d2f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def launch(text_input):
90
  # Create descriptive text for the output
91
  #result_text = "Most likely ISCO code is {} and probability is {:.2f}".format(decoded_labels[0], highest_probabilities[0])
92
  result_text = f"ISCO: {decoded_labels[0]}\nProbability: {highest_probabilities[0]:.2f}"
93
- return [decoded_labels[0], highest_probabilities[0]]
94
 
95
 
96
  iface = gr.Interface(
 
90
  # Create descriptive text for the output
91
  #result_text = "Most likely ISCO code is {} and probability is {:.2f}".format(decoded_labels[0], highest_probabilities[0])
92
  result_text = f"ISCO: {decoded_labels[0]}\nProbability: {highest_probabilities[0]:.2f}"
93
+ return result_text #[decoded_labels[0], highest_probabilities[0]]
94
 
95
 
96
  iface = gr.Interface(