DemonioStrada commited on
Commit
7f5e808
·
verified ·
1 Parent(s): bf15429

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1382,4 +1382,9 @@ def evaluate_trait(model, tokenizer, questions):
1382
  # Create and launch the interface
1383
  if __name__ == "__main__":
1384
  demo = create_brain_rot_interface()
1385
- demo.launch(share=True)
 
 
 
 
 
 
1382
  # Create and launch the interface
1383
  if __name__ == "__main__":
1384
  demo = create_brain_rot_interface()
1385
+ demo.launch(share=True)
1386
+
1387
+ """<font color = crimson>**Note:** Gradio interface keeps a persistent state - meaning that after the models are loaded,
1388
+ they remain in the GPU memory awaiting further user interactions via hugging face interactive window.
1389
+ In order to clear GPU memory, disconnect runtime and reconnect is using google colab to perform models evaluations
1390
+ rather than hugging face, this is done to avoid memory issues</font>"""