AI-Talent-Force Claude Sonnet 4.5 commited on
Commit ·
da0c75c
1
Parent(s): 6a3b5fa
Remove unsupported ChatInterface parameters
Browse filesCo-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -102,14 +102,9 @@ def chat_with_ceo(message, history):
|
|
| 102 |
demo = gr.ChatInterface(
|
| 103 |
fn=chat_with_ceo,
|
| 104 |
title="🎯 CEO AI Executive",
|
| 105 |
-
description="""
|
| 106 |
-
Chat with an AI trained on your CEO's writing style and thoughts.
|
| 107 |
-
Ask questions about business strategy, leadership, technology, or any topic your CEO writes about.
|
| 108 |
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
✅ **Model Status:** Loaded and ready! The model is kept in memory for fast responses.
|
| 112 |
-
""",
|
| 113 |
examples=[
|
| 114 |
"What's your vision for the company?",
|
| 115 |
"How do you approach leadership?",
|
|
@@ -117,15 +112,7 @@ demo = gr.ChatInterface(
|
|
| 117 |
"Can you share your perspective on team building?",
|
| 118 |
"What drives your business strategy?"
|
| 119 |
],
|
| 120 |
-
chatbot=gr.Chatbot(
|
| 121 |
-
height=500,
|
| 122 |
-
avatar_images=(None, "🎯")
|
| 123 |
-
),
|
| 124 |
-
textbox=gr.Textbox(placeholder="Ask me anything...", container=False, scale=7),
|
| 125 |
-
submit_btn="Send",
|
| 126 |
-
retry_btn="🔄 Retry",
|
| 127 |
-
undo_btn="↩️ Undo",
|
| 128 |
-
clear_btn="🗑️ Clear",
|
| 129 |
)
|
| 130 |
|
| 131 |
if __name__ == "__main__":
|
|
|
|
| 102 |
demo = gr.ChatInterface(
|
| 103 |
fn=chat_with_ceo,
|
| 104 |
title="🎯 CEO AI Executive",
|
| 105 |
+
description="""Chat with an AI trained on your CEO's writing style and thoughts.
|
|
|
|
|
|
|
| 106 |
|
| 107 |
+
✅ **Model Status:** Loaded and ready! The model is kept in memory for fast responses.""",
|
|
|
|
|
|
|
|
|
|
| 108 |
examples=[
|
| 109 |
"What's your vision for the company?",
|
| 110 |
"How do you approach leadership?",
|
|
|
|
| 112 |
"Can you share your perspective on team building?",
|
| 113 |
"What drives your business strategy?"
|
| 114 |
],
|
| 115 |
+
chatbot=gr.Chatbot(height=500)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
)
|
| 117 |
|
| 118 |
if __name__ == "__main__":
|