Download app.py from MathysL/pwa: direct link, hf CLI and curl.
- Browser
- Download file 757 Bytes
-
https://huggingface.co/spaces/MathysL/pwa/resolve/main/app.py
- Command line
-
hf download hf://spaces/MathysL/pwa/app.py
-
curl -L -o app.py https://huggingface.co/spaces/MathysL/pwa/resolve/main/app.py
757 Bytes
| import gradio as gr | |
| iface1 = gr.Interface.load("spaces/mathysl/chatGPT") | |
| iface2 = gr.Interface.load("spaces/mathysl/AutoGPT4") | |
| iface3 = gr.mix.serial( | |
| iface1, iface2, | |
| examples = [ | |
| ['Which website will make me money withoud being the risk of being scamed?' | |
| ["Can you show me your programming skills,write me a short hello world file in python and save it to my desktop as the.py, | |
| improve the.py, When the file is error free, shutdown yourself."], | |
| ["In 2030, my savings are "], | |
| ]) | |
| # iface3 = gr.mix.Parallel( | |
| # iface1, iface2, | |
| # examples = [ | |
| # ['Which country will win the 2002 World Cup?'], | |
| # ["A is the son's of B's uncle. What is the family relationship between A and B?"], | |
| # ["In 2030, "], | |
| # ]) | |
| iface3.launch() | |