Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ async def gradio_chat_interface(mode, password, user_input, example):
|
|
| 115 |
|
| 116 |
with gr.Blocks() as demo:
|
| 117 |
with gr.Row():
|
| 118 |
-
myTitle = gr.HTML("<h2 align=center>RTL AI News Reader : Quels événements ont eu lieu dans le Grand-Duché 🇱🇺 ou dans le monde 🌎 ?</h2>")
|
| 119 |
with gr.Row():
|
| 120 |
myDescription = gr.HTML("""
|
| 121 |
<h3 align='center'>Quel sujet vous intéresse ?</h3>
|
|
@@ -124,7 +124,7 @@ with gr.Blocks() as demo:
|
|
| 124 |
"""
|
| 125 |
)
|
| 126 |
with gr.Row():
|
| 127 |
-
mode = gr.Radio(choices=["Recherche", "Exemples"], label = "Vous pouvez lire les exemples sans mots de passe!", value = "Exemples")
|
| 128 |
pw = gr.Textbox(lines=1, label="Veuillez entrer le mot de passe :")
|
| 129 |
with gr.Row():
|
| 130 |
question = gr.Textbox(lines=3, label="Veuillez soumettre votre question :")
|
|
|
|
| 115 |
|
| 116 |
with gr.Blocks() as demo:
|
| 117 |
with gr.Row():
|
| 118 |
+
myTitle = gr.HTML("<h2 align=center>RTL French AI News Reader : Quels événements ont eu lieu dans le Grand-Duché 🇱🇺 ou dans le monde 🌎 ?</h2>")
|
| 119 |
with gr.Row():
|
| 120 |
myDescription = gr.HTML("""
|
| 121 |
<h3 align='center'>Quel sujet vous intéresse ?</h3>
|
|
|
|
| 124 |
"""
|
| 125 |
)
|
| 126 |
with gr.Row():
|
| 127 |
+
mode = gr.Radio(choices=["Recherche", "Exemples"], label = "Vous pouvez lire les exemples sans mots de passe !", value = "Exemples")
|
| 128 |
pw = gr.Textbox(lines=1, label="Veuillez entrer le mot de passe :")
|
| 129 |
with gr.Row():
|
| 130 |
question = gr.Textbox(lines=3, label="Veuillez soumettre votre question :")
|