Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def stream_chat(
|
|
64 |
|
65 |
# Start conversation with persona greeting
|
66 |
if not history:
|
67 |
-
|
68 |
|
69 |
def setup_logging() -> logging.Logger:
|
70 |
"""Set up logging configuration."""
|
@@ -229,7 +229,7 @@ async def main():
|
|
229 |
examples=examples,
|
230 |
theme="default"
|
231 |
).launch()
|
232 |
-
|
233 |
# Simple testing framework
|
234 |
def run_tests():
|
235 |
"""Run basic tests for the CodeFusion components."""
|
|
|
64 |
|
65 |
# Start conversation with persona greeting
|
66 |
if not history:
|
67 |
+
history.append(("AI", persona_greeting)) # Assuming history is a list of tuples
|
68 |
|
69 |
def setup_logging() -> logging.Logger:
|
70 |
"""Set up logging configuration."""
|
|
|
229 |
examples=examples,
|
230 |
theme="default"
|
231 |
).launch()
|
232 |
+
"""Main
|
233 |
# Simple testing framework
|
234 |
def run_tests():
|
235 |
"""Run basic tests for the CodeFusion components."""
|