Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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..."),
|