sotirios-slv commited on
Commit
e384807
1 Parent(s): cec13d4

Attempting to make the script persistent

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -18,7 +18,15 @@ which hold out seductions somewhat more dangerous, methinks, to honest labour th
18
  We may well rejoice, then, when we see a room such as this filled with attentive and reflective readers.
19
  """
20
 
21
- diction_script = gr.Textbox(diction_text, interactive=False, show_label=False)
 
 
 
 
 
 
 
 
22
 
23
  device = "cpu"
24
 
 
18
  We may well rejoice, then, when we see a room such as this filled with attentive and reflective readers.
19
  """
20
 
21
+
22
+ def set_text(text_for_display=diction_text):
23
+
24
+ return text_for_display
25
+
26
+
27
+ diction_script = gr.Textbox(
28
+ set_text, interactive=False, show_label=False, placeholder=diction_text
29
+ )
30
 
31
  device = "cpu"
32