Download app.py from Adel-55/Network-X: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/spaces/Adel-55/Network-X/resolve/main/app.py
- Command line
-
hf download hf://spaces/Adel-55/Network-X/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Adel-55/Network-X/resolve/main/app.py
306 Bytes
| import gradio as gr | |
| from utils import generate_response | |
| with gr.Blocks() as demo: | |
| chatbot = gr.Chatbot(label='Network Design Chatbot', height=600) | |
| msg = gr.Textbox() | |
| clear = gr.ClearButton([msg, chatbot]) | |
| msg.submit(generate_response, [msg, chatbot], [msg, chatbot]) | |
| demo.launch() | |