Spaces:
Building
Building
Update tests.py
Browse files
tests.py
CHANGED
@@ -247,7 +247,7 @@ def run_code(language:str,packages:str,filename: str, code: str,start_cmd:str,fo
|
|
247 |
- bash/apk packages cannot be installed.
|
248 |
- When editing and subsequently re-executing the server with the forever_cmd='true' setting, the previous server instance will be automatically terminated, and the updated server will commence operation. This functionality negates the requirement for manual process termination commands such as pkill node.
|
249 |
- The opened ports can be externally accessed at https://suitable-liked-ibex.ngrok-free.app/ (ONLY if the website is running successfully)
|
250 |
-
- Do not use `plt.show()` in this headless environment. Save visualizations directly (e.g., `plt.savefig("happiness_img.png")` or export GIFs/videos).
|
251 |
"""
|
252 |
global destination_dir
|
253 |
package_names = packages.strip()
|
|
|
247 |
- bash/apk packages cannot be installed.
|
248 |
- When editing and subsequently re-executing the server with the forever_cmd='true' setting, the previous server instance will be automatically terminated, and the updated server will commence operation. This functionality negates the requirement for manual process termination commands such as pkill node.
|
249 |
- The opened ports can be externally accessed at https://suitable-liked-ibex.ngrok-free.app/ (ONLY if the website is running successfully)
|
250 |
+
- Do not use `plt.show()` in this headless environment. Save visualizations directly (e.g., `plt.savefig("happiness_img.png")` or export GIFs/videos).User-Interactive libraries and programs like `pygame` are also not supported.Try to create a website to accomplish the same task instead.
|
251 |
"""
|
252 |
global destination_dir
|
253 |
package_names = packages.strip()
|