omarhkh commited on
Commit
b32dfd6
1 Parent(s): 33da86c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
2
  #from huggingface_hub import notebook_login
3
 
 
 
 
4
  demo = gr.Interface(
5
  fn=greet,
6
  inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
 
1
  import gradio as gr
2
  #from huggingface_hub import notebook_login
3
 
4
+ def greet(name):
5
+ return "Hello " + name + "!"
6
+
7
  demo = gr.Interface(
8
  fn=greet,
9
  inputs=gr.Textbox(lines=2, placeholder="Name Here..."),