Spaces:
Running
Running
Download index.php from komiljon123/test2: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/spaces/komiljon123/test2/resolve/main/index.php
- Command line
-
hf download hf://spaces/komiljon123/test2/index.php
-
curl -L -o index.php https://huggingface.co/spaces/komiljon123/test2/resolve/main/index.php
225 Bytes
| // Define the command to run the Python script | |
| $command = 'python3 test.py'; | |
| // Execute the command and capture the output | |
| $output = shell_exec($command); | |
| // Display the output | |
| echo '<pre>' . $output . '</pre>'; | |