zakihassan04 commited on
Commit
8ca4adf
·
verified ·
1 Parent(s): 50e99f4

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(msg):
4
+ return "Haye! Waxaad tidhi: " + msg
5
+
6
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ if __name__ == "__main__":
8
+ iface.launch()