Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,8 +33,8 @@ def openai_chatbot(message, history):
|
|
| 33 |
|
| 34 |
chat_interface = gr.Interface(
|
| 35 |
fn=openai_chatbot,
|
| 36 |
-
inputs=[gr.
|
| 37 |
-
outputs=[gr.
|
| 38 |
title="OpenAI Chatbot",
|
| 39 |
description="Talk to a bot powered by OpenAI GPT-3."
|
| 40 |
)
|
|
|
|
| 33 |
|
| 34 |
chat_interface = gr.Interface(
|
| 35 |
fn=openai_chatbot,
|
| 36 |
+
inputs=[gr.Textbox(label="Your Message")],
|
| 37 |
+
outputs=[gr.Textbox(label="OpenAI Response")],
|
| 38 |
title="OpenAI Chatbot",
|
| 39 |
description="Talk to a bot powered by OpenAI GPT-3."
|
| 40 |
)
|