rishav09
commited on
Commit
·
f7ccb08
1
Parent(s):
7f3eab6
Added initial welcome.
Browse files
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Author:Rishav Sapahia."""
|
| 2 |
+
import gradio as gr
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
def greet(name):
|
| 6 |
+
"""Initialize intro."""
|
| 7 |
+
return "Hello" + name + "!!"
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
iface = gr.Interface(fn=greet, inputs='text', output='text')
|
| 11 |
+
iface.launch()
|