indiapuig commited on
Commit
c065326
·
verified ·
1 Parent(s): 9ec04b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -15,15 +15,11 @@ def append_and_show(text):
15
  f.write(text + "\n")
16
  return load_text()
17
 
18
- # Load existing text at app start
19
- initial_text = load_text()
20
-
21
  iface = gr.Interface(
22
  fn=append_and_show,
23
  inputs=gr.Textbox(lines=5, label="Type here"),
24
  outputs=gr.Textbox(lines=15, label="Saved Text"),
25
  title="Append and Save Text",
26
- live=False
27
  )
28
 
29
  if __name__ == "__main__":
 
15
  f.write(text + "\n")
16
  return load_text()
17
 
 
 
 
18
  iface = gr.Interface(
19
  fn=append_and_show,
20
  inputs=gr.Textbox(lines=5, label="Type here"),
21
  outputs=gr.Textbox(lines=15, label="Saved Text"),
22
  title="Append and Save Text",
 
23
  )
24
 
25
  if __name__ == "__main__":