| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() | |
| git app.py | |
| git commit -m "Add application file" | |
| git push | |
| !nvidia-smi | |
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() | |
| git app.py | |
| git commit -m "Add application file" | |
| git push | |
| !nvidia-smi | |