remove gr.inputs
Browse files- chatbot-gpt.py +2 -2
chatbot-gpt.py
CHANGED
@@ -20,8 +20,8 @@ def chatbot(input):
|
|
20 |
return reply
|
21 |
|
22 |
|
23 |
-
inputs = gr.
|
24 |
-
outputs = gr.
|
25 |
|
26 |
gr.Interface(
|
27 |
fn=chatbot,
|
|
|
20 |
return reply
|
21 |
|
22 |
|
23 |
+
inputs = gr.Textbox(lines=7, label="Chat with AI")
|
24 |
+
outputs = gr.Textbox(label="Reply")
|
25 |
|
26 |
gr.Interface(
|
27 |
fn=chatbot,
|