Spaces:
Sleeping
Sleeping
Download app.py from JGoatzTV/RealStatsKickAss: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/spaces/JGoatzTV/RealStatsKickAss/resolve/main/app.py
- Command line
-
hf download hf://spaces/JGoatzTV/RealStatsKickAss/app.py
-
curl -L -o app.py https://huggingface.co/spaces/JGoatzTV/RealStatsKickAss/resolve/main/app.py
340 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| with open("index.html", "r") as f: | |
| html_content = f.read() | |
| with gr.Blocks() as demo: | |
| gr.HTML(html_content) | |
| with gr.Row(): | |
| inp = gr.Textbox(placeholder="What is your name?") | |
| out = gr.Textbox() | |
| inp.submit(greet, inp, out) | |
| demo.launch() |