Spaces:
Runtime error
Runtime error
Remove commented-out chat commands from run.py
Browse files
run.py
CHANGED
@@ -9,12 +9,6 @@ from src.vm import VMRegistry
|
|
9 |
async def _main() -> None:
|
10 |
async with ChatSession(user="demo_user", session="demo_session") as chat:
|
11 |
# doc_path = chat.upload_document("note.pdf")
|
12 |
-
# print(f"Document uploaded to VM at: {doc_path}")
|
13 |
-
# async for resp in chat.chat_stream("Erase the contents of test.txt and write 'Hello, World!' to it."):
|
14 |
-
# async for resp in chat.chat_stream("Verify that the file test.txt exists and contains the text 'Hello, World!'."):
|
15 |
-
# async for resp in chat.chat_stream("Inspect the contents of note.pdf and summarize it."):
|
16 |
-
# async for resp in chat.chat_stream("What is the content of the document I uploaded?"):
|
17 |
-
# async for resp in chat.chat_stream("Install necessary package(s) to read PDF files and edit them."):
|
18 |
async for resp in chat.chat_stream("using python, execute a code to remind me in 30 seconds to take a break."):
|
19 |
print("\n>>>", resp)
|
20 |
|
|
|
9 |
async def _main() -> None:
|
10 |
async with ChatSession(user="demo_user", session="demo_session") as chat:
|
11 |
# doc_path = chat.upload_document("note.pdf")
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
async for resp in chat.chat_stream("using python, execute a code to remind me in 30 seconds to take a break."):
|
13 |
print("\n>>>", resp)
|
14 |
|