Update app.py
Browse files
app.py
CHANGED
|
@@ -111,6 +111,10 @@ with gr.Blocks(css=custom_css, theme="default") as demo:
|
|
| 111 |
# API endpoint for iOS app
|
| 112 |
gr.api(predict_peptide, api_name="predict_peptide")
|
| 113 |
|
|
|
|
|
|
|
|
|
|
| 114 |
if __name__ == "__main__":
|
| 115 |
-
demo.launch()
|
|
|
|
| 116 |
|
|
|
|
| 111 |
# API endpoint for iOS app
|
| 112 |
gr.api(predict_peptide, api_name="predict_peptide")
|
| 113 |
|
| 114 |
+
#if __name__ == "__main__":
|
| 115 |
+
# demo.launch()
|
| 116 |
+
|
| 117 |
if __name__ == "__main__":
|
| 118 |
+
demo.launch(show_error=True)
|
| 119 |
+
|
| 120 |
|