Spaces:
Runtime error
Runtime error
Download app.py from 0Hojoon0/Exponential: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/0Hojoon0/Exponential/resolve/main/app.py
- Command line
-
hf download hf://spaces/0Hojoon0/Exponential/app.py
-
curl -L -o app.py https://huggingface.co/spaces/0Hojoon0/Exponential/resolve/main/app.py
265 Bytes
| import gradio as gr | |
| def exponent_numbers(num1, num2): | |
| return num1 ** num2 | |
| gr.Interface( | |
| fn=exponent_numbers, | |
| inputs=["number", "number"], | |
| outputs="number", | |
| title="Simple Calculator", | |
| description="Calculate (a^b) of two numbers." | |
| ).launch() |