Spaces:
Build error
Build error
Update app.py
Browse files130 unmodified lines131132133134135136130 unmodified linesout_text = f"This paper is likely to be from the category **{results[0]['label']}** *(score {results[0]['score']:.2f})*."if len(results) > 1:out_text += "\n(Alternative categories are " + " and ".join([f"{item['label']} *(score {item['score']:.2f})*"])st.markdown(out_text)130 unmodified lines131132133134135136137138139130 unmodified linesout_text = f"This paper is likely to be from the category **{results[0]['label']}** *(score {results[0]['score']:.2f})*."if len(results) > 1:out_text += "\n(Alternative categories are " + " and ".join([f"{item['label']} *(score {item['score']:.2f})*"for item in results[1:]])st.markdown(out_text)
app.py+4-1