OdinStef commited on
Commit
8b7c4be
·
1 Parent(s): 4a8e900

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -21,9 +21,5 @@ description = "Cet Intelligence Artificielle est un programme fait par Stephane
21
  title = "Je peux répondre a presque toute les questions."
22
 
23
  demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, inputs = gr.inputs.Textbox(label = "Question", placeholder="Ex.: Quelle est la plus haute tour du monde?"), outputs = gr.outputs.Textbox(label = "Réponse"))
24
-
25
- with gr.Blocks() as demo:
26
- soumettre = gr.Button("Soumettre")
27
- soumettre.click(fn=CustomChatGPT, inputs=inputs, outputs=ouputs)
28
 
29
  demo.launch()
 
21
  title = "Je peux répondre a presque toute les questions."
22
 
23
  demo = gr.Interface(fn=CustomChatGPT, description = description, title = title, inputs = gr.inputs.Textbox(label = "Question", placeholder="Ex.: Quelle est la plus haute tour du monde?"), outputs = gr.outputs.Textbox(label = "Réponse"))
 
 
 
 
24
 
25
  demo.launch()