mbarnig commited on
Commit
67af1f0
·
verified ·
1 Parent(s): 492dba9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -29,6 +29,11 @@ myarticle ="""
29
 
30
  myinput = gr.Textbox(lines=3, label="Wat wëllt Der wëssen ?")
31
 
 
 
 
 
 
32
 
33
  class EventHandler(AsyncAssistantEventHandler):
34
  def __init__(self) -> None:
@@ -124,7 +129,8 @@ interface = gr.Interface(
124
  description=mydescription,
125
  article=myarticle,
126
  live=False,
127
- allow_flagging="never"
 
128
  )
129
 
130
  # Launch the Gradio app
 
29
 
30
  myinput = gr.Textbox(lines=3, label="Wat wëllt Der wëssen ?")
31
 
32
+ myexamples = [
33
+ "Wat war lass am Juni 2023 ?",
34
+ "Wat ass gewosst iwwert de SREL ?",
35
+ "Wat fir eng Katastroph war 2022 zu Lëtzebuerg ?"
36
+ ]
37
 
38
  class EventHandler(AsyncAssistantEventHandler):
39
  def __init__(self) -> None:
 
129
  description=mydescription,
130
  article=myarticle,
131
  live=False,
132
+ allow_flagging="never",
133
+ examples=myexamples
134
  )
135
 
136
  # Launch the Gradio app