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