Download app.py from rexrex92/try: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/spaces/rexrex92/try/resolve/main/app.py
- Command line
-
hf download hf://spaces/rexrex92/try/app.py
-
curl -L -o app.py https://huggingface.co/spaces/rexrex92/try/resolve/main/app.py
251 Bytes
| import gradio as gr | |
| from content.conn import chat | |
| from content.ad import T | |
| def greet(input): | |
| return chat(input) + '\n\n' + T | |
| if __name__ == '__main__': | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch(share=True) | |