Docfile commited on
Commit
01813ce
·
1 Parent(s): 7d90907

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,11 +12,11 @@ async def chatbot_interaction(input_text):
12
  print(response)
13
  return response
14
  iface = gr.Interface(
15
- fn=chatbot_interaction,
16
  inputs="text",
17
  outputs=gr.Textbox(label="Réponse"),
18
  title="bot",
19
  description="By Isa Ibn Maryam. 😂😂 Vas dormir ! Espace fermé ! ")
20
 
21
- asyncio.run(iface.launch())
22
 
 
12
  print(response)
13
  return response
14
  iface = gr.Interface(
15
+ fn=asyncio.run(chatbot_interaction),
16
  inputs="text",
17
  outputs=gr.Textbox(label="Réponse"),
18
  title="bot",
19
  description="By Isa Ibn Maryam. 😂😂 Vas dormir ! Espace fermé ! ")
20
 
21
+ iface.launch()
22