Spaces:
Sleeping
Sleeping
app.py
Browse filesgit add app.py requirements.txt && git commit -m "Add Gradio app and requirements" && git push
app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "नमस्ते " + name + "!!" # उदाहरण के लिए हिंदी में ग्रीटिंग
|
5 |
+
|
6 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
demo.launch(share=True) # शेयर लिंक के लिए 'share=True'
|