Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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>"""
|