muhammadumar15 commited on
Commit
fe48438
·
verified ·
1 Parent(s): 6d62fe5
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+
4
+ def ping(name: str) -> str:
5
+ return f"ok {name}"
6
+
7
+
8
+ demo = gr.Interface(fn=ping, inputs="text", outputs="text")
9
+ demo.launch()