mause123
commited on
Commit
·
2d3e706
1
Parent(s):
6795e79
Change title from RobotPai to incligen
Browse files- simple_app.py +5 -5
simple_app.py
CHANGED
|
@@ -49,11 +49,11 @@ def chat_with_agent(message, history):
|
|
| 49 |
return response
|
| 50 |
|
| 51 |
# Create Gradio interface
|
| 52 |
-
with gr.Blocks(title="
|
| 53 |
gr.Markdown("""
|
| 54 |
-
# 🤖
|
| 55 |
|
| 56 |
-
Welcome to
|
| 57 |
|
| 58 |
- 🧮 **Math calculations** (add, subtract, multiply, divide, modulus, square root, power, absolute)
|
| 59 |
- 🤔 **General questions** using advanced AI
|
|
@@ -73,7 +73,7 @@ with gr.Blocks(title="RobotPai - AI Agent", theme=gr.themes.Soft()) as demo:
|
|
| 73 |
# Chat interface
|
| 74 |
chatbot = gr.ChatInterface(
|
| 75 |
fn=chat_with_agent,
|
| 76 |
-
title="Chat with
|
| 77 |
description="Ask me anything! I can do math, answer questions, and more.",
|
| 78 |
examples=[
|
| 79 |
"What is 15 + 27?",
|
|
@@ -112,7 +112,7 @@ with gr.Blocks(title="RobotPai - AI Agent", theme=gr.themes.Soft()) as demo:
|
|
| 112 |
|
| 113 |
if __name__ == "__main__":
|
| 114 |
print("\n" + "="*60)
|
| 115 |
-
print("🚀 Starting
|
| 116 |
print("="*60)
|
| 117 |
|
| 118 |
# Check configuration
|
|
|
|
| 49 |
return response
|
| 50 |
|
| 51 |
# Create Gradio interface
|
| 52 |
+
with gr.Blocks(title="incligen", theme=gr.themes.Soft()) as demo:
|
| 53 |
gr.Markdown("""
|
| 54 |
+
# 🤖 incligen
|
| 55 |
|
| 56 |
+
Welcome to incligen! I'm an AI agent powered by LangGraph that can help you with:
|
| 57 |
|
| 58 |
- 🧮 **Math calculations** (add, subtract, multiply, divide, modulus, square root, power, absolute)
|
| 59 |
- 🤔 **General questions** using advanced AI
|
|
|
|
| 73 |
# Chat interface
|
| 74 |
chatbot = gr.ChatInterface(
|
| 75 |
fn=chat_with_agent,
|
| 76 |
+
title="Chat with incligen",
|
| 77 |
description="Ask me anything! I can do math, answer questions, and more.",
|
| 78 |
examples=[
|
| 79 |
"What is 15 + 27?",
|
|
|
|
| 112 |
|
| 113 |
if __name__ == "__main__":
|
| 114 |
print("\n" + "="*60)
|
| 115 |
+
print("🚀 Starting incligen on Hugging Face Spaces")
|
| 116 |
print("="*60)
|
| 117 |
|
| 118 |
# Check configuration
|