Spaces:
No application file
No application file
File size: 447 Bytes
e38997a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
# Function to add two numbers
def add_numbers(num1, num2):
return num1 + num2
# Create the Gradio interface
interface = gr.Interface(fn=add_numbers,
inputs=["number", "number"],
outputs="number",
title="Simple Addition App",
description="Enter two numbers to get their sum.")
# Launch the interface
interface.launch()
|