mbarnig commited on
Commit
6ecbc31
·
verified ·
1 Parent(s): 5a10466

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,7 +85,7 @@ async def generate_response(user_input):
85
 
86
  # Gradio interface function (generator)
87
  async def gradio_chat_interface(mode, password, user_input, example):
88
- if mode == "Beispiller":
89
  filename = example[-6:-2] + ".md"
90
  file = open("examples/" + filename, "r")
91
  output = file.read()
@@ -120,7 +120,7 @@ with gr.Blocks() as demo:
120
  myDescription = gr.HTML("""
121
  <h3 align='center'>Quel sujet vous intéresse ?</h3>
122
  <p align='center'>🐶 🏃🏻‍♂️ 🌗 🍇 🌈 🍽️ 🏆 🚘 ✈️ 🩺 </p>
123
- <p align='center' bgcolor="Moccasin">Veillez soumettre votre quetion en français ou dans une autre langue !</p>
124
  """
125
  )
126
  with gr.Row():
 
85
 
86
  # Gradio interface function (generator)
87
  async def gradio_chat_interface(mode, password, user_input, example):
88
+ if mode == "Exemples":
89
  filename = example[-6:-2] + ".md"
90
  file = open("examples/" + filename, "r")
91
  output = file.read()
 
120
  myDescription = gr.HTML("""
121
  <h3 align='center'>Quel sujet vous intéresse ?</h3>
122
  <p align='center'>🐶 🏃🏻‍♂️ 🌗 🍇 🌈 🍽️ 🏆 🚘 ✈️ 🩺 </p>
123
+ <p align='center' bgcolor="Moccasin">Veillez soumettre votre question en français ou dans une autre langue !</p>
124
  """
125
  )
126
  with gr.Row():