Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,15 +29,12 @@ def chatbot(user_input, history=[]):
|
|
| 29 |
|
| 30 |
return bot_reply, history
|
| 31 |
|
| 32 |
-
# Gradio Interface
|
| 33 |
chatbot_ui = gr.ChatInterface(
|
| 34 |
fn=chatbot,
|
| 35 |
title="AI Chatbot",
|
| 36 |
description="A simple chatbot powered by GPT-4o.",
|
| 37 |
-
theme="soft"
|
| 38 |
-
retry_btn="🔄 Retry",
|
| 39 |
-
undo_btn="↩️ Undo",
|
| 40 |
-
clear_btn="🗑️ Clear"
|
| 41 |
)
|
| 42 |
|
| 43 |
# Launch the app
|
|
|
|
| 29 |
|
| 30 |
return bot_reply, history
|
| 31 |
|
| 32 |
+
# Gradio Interface (Removing invalid keyword arguments)
|
| 33 |
chatbot_ui = gr.ChatInterface(
|
| 34 |
fn=chatbot,
|
| 35 |
title="AI Chatbot",
|
| 36 |
description="A simple chatbot powered by GPT-4o.",
|
| 37 |
+
theme="soft"
|
|
|
|
|
|
|
|
|
|
| 38 |
)
|
| 39 |
|
| 40 |
# Launch the app
|