Spaces:
Sleeping
Sleeping
Download VirtualCard.py from Romixpl/VirtualGratitudeCard.py: direct link, hf CLI and curl.
- Browser
- Download file 261 Bytes
-
https://huggingface.co/spaces/Romixpl/VirtualGratitudeCard.py/resolve/main/VirtualCard.py
- Command line
-
hf download hf://spaces/Romixpl/VirtualGratitudeCard.py/VirtualCard.py
-
curl -L -o VirtualCard.py https://huggingface.co/spaces/Romixpl/VirtualGratitudeCard.py/resolve/main/VirtualCard.py
261 Bytes
| import gradio as gr | |
| def card(asking): | |
| return f"Im gratitute for:{asking}" | |
| asking = gr.Textbox(label="Who are you grateful for today, for what, and how can you express it?:") | |
| gr.Interface( | |
| fn= card, | |
| inputs = [asking], | |
| outputs = "text", | |
| ).launch() |