mbarnig commited on
Commit
097b2fe
1 Parent(s): d2d7dfc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -129,14 +129,14 @@ with gr.Blocks() as demo:
129
  with gr.Row():
130
  question = gr.Textbox(lines=3, label="Wat wëllt Der wëssen ?")
131
  with gr.Row():
132
- examples = gr.Radio(["Wat war lass am Juni 2023 ?", "Wat ass gewosst iwwert de SREL ?", "Wat fir eng Katastroph war 2022 zu Lëtzebuerg ?", "Koumen an de leschte Jore gréisser Kriminalfäll viru Geriicht ?"], label="Beispiller")
133
  with gr.Row():
134
  clear = gr.Button("Clear")
135
  submit = gr.Button("Submit")
136
  with gr.Row():
137
- mySubtitle = gr.HTML("<p align='center' bgcolor='Khaki'>Äntwert vum OpenAI File-Search Assistent : </p>")
138
  with gr.Row():
139
- myOutput = gr.Textbox(lines=12)
140
 
141
  submit.click(fn = gradio_chat_interface, inputs=[mode, pw, question, examples], outputs = myOutput)
142
  demo.launch()
 
129
  with gr.Row():
130
  question = gr.Textbox(lines=3, label="Wat wëllt Der wëssen ?")
131
  with gr.Row():
132
+ examples = gr.Radio(["Wat war lass am Juni 2023 ?", "Wat ass gewosst iwwert de SREL ?", "Wat fir eng Katastroph war 2022 zu Lëtzebuerg ?", "Koumen an de leschte Jore gréisser Kriminalfäll viru Geriicht ?"], value="Wat ass gewosst iwwert de SREL ?" , label="Beispiller")
133
  with gr.Row():
134
  clear = gr.Button("Clear")
135
  submit = gr.Button("Submit")
136
  with gr.Row():
137
+ mySubtitle = gr.HTML("<p align='center' bgcolor='Khaki'>Lëtzebuergesch RTL News :</p>")
138
  with gr.Row():
139
+ myOutput = gr.Textbox(lines=12, label="Äntwert vum OpenAI File-Search Assistent :")
140
 
141
  submit.click(fn = gradio_chat_interface, inputs=[mode, pw, question, examples], outputs = myOutput)
142
  demo.launch()