Spaces:
Running
Running
Update app.py
Browse files
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'
|
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()
|