apirrone
commited on
Commit
Β·
a9daad6
1
Parent(s):
e2ba649
renaming
Browse files- README.md +1 -1
- index.html +4 -4
- src/reachy_mini_conversation_app/main.py +3 -3
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: Reachy Mini Conversation
|
| 3 |
emoji: π€
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: blue
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Reachy Mini Conversation App
|
| 3 |
emoji: π€
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: blue
|
index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
<head>
|
| 5 |
<meta charset="utf-8" />
|
| 6 |
<meta name="viewport" content="width=device-width" />
|
| 7 |
-
<title>Reachy Mini Conversation
|
| 8 |
<link rel="stylesheet" href="style.css" />
|
| 9 |
</head>
|
| 10 |
|
|
@@ -12,8 +12,8 @@
|
|
| 12 |
<div class="hero">
|
| 13 |
<div class="hero-content">
|
| 14 |
<div class="app-icon">π€β‘</div>
|
| 15 |
-
<h1>Reachy Mini Conversation
|
| 16 |
-
<p class="tagline">
|
| 17 |
</div>
|
| 18 |
</div>
|
| 19 |
|
|
@@ -84,7 +84,7 @@
|
|
| 84 |
|
| 85 |
<button id="installBtn" class="install-btn primary">
|
| 86 |
<span class="btn-icon">π₯</span>
|
| 87 |
-
Install Conversation
|
| 88 |
</button>
|
| 89 |
|
| 90 |
<div id="installStatus" class="install-status"></div>
|
|
|
|
| 4 |
<head>
|
| 5 |
<meta charset="utf-8" />
|
| 6 |
<meta name="viewport" content="width=device-width" />
|
| 7 |
+
<title>Reachy Mini Conversation app</title>
|
| 8 |
<link rel="stylesheet" href="style.css" />
|
| 9 |
</head>
|
| 10 |
|
|
|
|
| 12 |
<div class="hero">
|
| 13 |
<div class="hero-content">
|
| 14 |
<div class="app-icon">π€β‘</div>
|
| 15 |
+
<h1>Reachy Mini Conversation app</h1>
|
| 16 |
+
<p class="tagline">Conversationalapp for the Reachy Mini robot combining OpenAI's realtime APIs, vision pipelines, and choreographed motion libraries.</p>
|
| 17 |
</div>
|
| 18 |
</div>
|
| 19 |
|
|
|
|
| 84 |
|
| 85 |
<button id="installBtn" class="install-btn primary">
|
| 86 |
<span class="btn-icon">π₯</span>
|
| 87 |
+
Install Conversation App to Reachy Mini
|
| 88 |
</button>
|
| 89 |
|
| 90 |
<div id="installStatus" class="install-status"></div>
|
src/reachy_mini_conversation_app/main.py
CHANGED
|
@@ -33,7 +33,7 @@ def update_chatbot(chatbot: List[Dict[str, Any]], response: Dict[str, Any]) -> L
|
|
| 33 |
|
| 34 |
# TODO handle stop event properly
|
| 35 |
def main(robot=None, stop_event=None):
|
| 36 |
-
"""Entrypoint for the Reachy Mini conversation
|
| 37 |
args = parse_args()
|
| 38 |
args.gradio = True # TODO Antoine - force gradio for testing appifying
|
| 39 |
|
|
@@ -137,10 +137,10 @@ def main(robot=None, stop_event=None):
|
|
| 137 |
|
| 138 |
|
| 139 |
class ReachyMiniConversationApp(ReachyMiniApp):
|
| 140 |
-
"""Reachy Mini Apps entry point for the conversation
|
| 141 |
|
| 142 |
def run(self, reachy_mini: ReachyMini, stop_event: threading.Event):
|
| 143 |
-
"""Run the Reachy Mini conversation
|
| 144 |
loop = asyncio.new_event_loop()
|
| 145 |
asyncio.set_event_loop(loop)
|
| 146 |
|
|
|
|
| 33 |
|
| 34 |
# TODO handle stop event properly
|
| 35 |
def main(robot=None, stop_event=None):
|
| 36 |
+
"""Entrypoint for the Reachy Mini conversation app."""
|
| 37 |
args = parse_args()
|
| 38 |
args.gradio = True # TODO Antoine - force gradio for testing appifying
|
| 39 |
|
|
|
|
| 137 |
|
| 138 |
|
| 139 |
class ReachyMiniConversationApp(ReachyMiniApp):
|
| 140 |
+
"""Reachy Mini Apps entry point for the conversation app."""
|
| 141 |
|
| 142 |
def run(self, reachy_mini: ReachyMini, stop_event: threading.Event):
|
| 143 |
+
"""Run the Reachy Mini conversation app."""
|
| 144 |
loop = asyncio.new_event_loop()
|
| 145 |
asyncio.set_event_loop(loop)
|
| 146 |
|