SuperBigtoo commited on
Commit
80d5a90
1 Parent(s): 2f26e3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -4,8 +4,6 @@ def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
  with gr.Blocks() as demo:
7
-
8
- txt = gr.Textbox(label="Input", lines=2)
9
 
10
  iface = gr.Interface(
11
  fn=greet,
@@ -17,7 +15,7 @@ with gr.Blocks() as demo:
17
  gr.Markdown("## Text Examples")
18
  gr.Examples(
19
  ["hi", "Adam"],
20
- txt
21
  )
22
 
23
  if __name__ == "__main__":
 
4
  return "Hello " + name + "!!"
5
 
6
  with gr.Blocks() as demo:
 
 
7
 
8
  iface = gr.Interface(
9
  fn=greet,
 
15
  gr.Markdown("## Text Examples")
16
  gr.Examples(
17
  ["hi", "Adam"],
18
+ iface
19
  )
20
 
21
  if __name__ == "__main__":