Spaces:
Configuration error
Configuration error
Download app.py from Raidenop/MoneyPrinterTurbo: direct link, hf CLI and curl.
- Browser
- Download file 687 Bytes
-
https://huggingface.co/spaces/Raidenop/MoneyPrinterTurbo/resolve/main/app.py
- Command line
-
hf download hf://spaces/Raidenop/MoneyPrinterTurbo/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Raidenop/MoneyPrinterTurbo/resolve/main/app.py
687 Bytes
| import gradio as gr | |
| import subprocess | |
| def generate_video(keyword): | |
| # Run the main script (adjust the command if needed) | |
| command = f"python main.py --keyword \"{keyword}\"" | |
| result = subprocess.run(command, shell=True, capture_output=True, text=True) | |
| return result.stdout # This can be changed to show more detailed output or a file link | |
| iface = gr.Interface( | |
| fn=generate_video, | |
| inputs=gr.Textbox(label="Enter a Keyword for Video Generation"), | |
| outputs="text", | |
| title="MoneyPrinterTurbo Video Generator", | |
| description="Enter a keyword, and the AI will generate video components using MoneyPrinterTurbo." | |
| ) | |
| if __name__ == '__main__': | |
| iface.launch() | |