Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
"""SusAI ©2025 Intern Labs. v1.0.
|
2 |
import os
|
3 |
import gradio as gr
|
4 |
from gradio_client import Client
|
@@ -24,8 +24,13 @@ def chat_with_ai(message, history):
|
|
24 |
)
|
25 |
return result
|
26 |
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
29 |
|
30 |
if __name__ == "__main__":
|
31 |
demo.launch()
|
|
|
|
1 |
+
"""SusAI ©2025 Intern Labs. v1.0.5"""
|
2 |
import os
|
3 |
import gradio as gr
|
4 |
from gradio_client import Client
|
|
|
24 |
)
|
25 |
return result
|
26 |
|
27 |
+
def startup_message():
|
28 |
+
return "SusAI ©2025 Intern Labs. v1.0.5"
|
29 |
+
|
30 |
+
demo = gr.ChatInterface(fn=chat_with_ai, chatbot=gr.Chatbot().style(container=True))
|
31 |
+
|
32 |
+
demo.chatbot.append((startup_message(), None))
|
33 |
|
34 |
if __name__ == "__main__":
|
35 |
demo.launch()
|
36 |
+
|