AdityaBolt commited on
Commit
f06fbfd
·
verified ·
1 Parent(s): 7315ef3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- def write_letter(name):
4
  letter = f"Dear {name},\n\n" \
5
  "I hope this note finds you well. Your smile brightens everyone's day, " \
6
  "and I just wanted to take a moment to tell you how much you mean to those around you. " \
@@ -9,7 +9,5 @@ def write_letter(name):
9
  "- Your Friend"
10
  return letter
11
 
12
-
13
  iface = gr.Interface(fn=write_letter, inputs="text", outputs="text")
14
-
15
  iface.launch()
 
1
  import gradio as gr
2
 
3
+ def greet(name):
4
  letter = f"Dear {name},\n\n" \
5
  "I hope this note finds you well. Your smile brightens everyone's day, " \
6
  "and I just wanted to take a moment to tell you how much you mean to those around you. " \
 
9
  "- Your Friend"
10
  return letter
11
 
 
12
  iface = gr.Interface(fn=write_letter, inputs="text", outputs="text")
 
13
  iface.launch()