runtime error

Exit code: 1. Reason: Traceback (most recent call last): File "/app/app.py", line 1, in <module> {"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"gpuType":"T4","authorship_tag":"ABX9TyNINbQ0FIDIkYTOKdziXL0p"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"},"accelerator":"GPU"},"cells":[{"cell_type":"code","source":["def load_model():\n"," return pipeline(\"text-classification\", model=\"D-Sullivan/bert-classifier\")\n","\n","gradio_mapping = {\n"," \"LABEL_0\": \"World\",\n"," \"LABEL_1\": \"Sports\",\n"," \"LABEL_2\": \"Business\",\n"," \"LABEL_3\": \"Sci/Tech\"\n","}\n","\n","def classify_text(model, text):\n"," predictions = model(text)[0]\n","\n"," label = predictions['label']\n"," class_names = gradio_mapping.get(label,label)\n","\n"," return {class_names: predictions['score']}\n","\n","\n","def main():\n"," model = load_model()\n"," interface = gr.Interface(\n"," fn=lambda text: classify_text(model, text),\n"," inputs=gr.Textbox(lines=2, placeholder=\"Enter Text Here...\"),\n"," outputs=gr.Label(num_top_classes=4, label=\"Predicted Category and Confidence\"),\n"," title=\"AG News Article Classifier\",\n"," description=\"This interface exhibits the tuned and trained classifier, taking user input and outputting the predicted news category.\"\n"," )\n"," interface.launch()\n","\n","\n","if __name__ == \"__main__\":\n"," main()\n"],"metadata":{"id":"hUDldiRlEMEn"},"execution_count":null,"outputs":[]}]} NameError: name 'null' is not defined

Container logs:

Fetching error logs...