Gohil001's picture
Demo: Gradio app implementation
6398fd7 verified
raw
history blame contribute delete
393 Bytes
import gradio as gr
# एक सिंपल फंक्शन जो यूजर का नाम लेता है और ग्रीटिंग देता है।
def greet(name):
return f"Hello, {name}!"
# Gradio Interface बनाएं
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
# इंटरफ़ेस लॉन्च करें
iface.launch()