| 🚀 Get started with your gradio Space! | |
| Your new space has been created, follow these steps to get started (or read our full documentation ) | |
| Start by cloning this repo by using: | |
| git clone git@hf.co:spaces/schogini/test2 | |
| Create your Gradio app.py file: | |
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() | |
| Then commit and push: | |
| git add app.py | |
| git commit -m "Add application file" | |
| git push | |
| (Hint: Create the app.py file right in your browser alternatively) | |
| 🤗 Your app should be running on this page after a few moments ! | |