Spaces:
Paused
Paused
matthoffner
commited on
Commit
•
1d9d2a2
1
Parent(s):
e3277b6
Update main.py
Browse files
main.py
CHANGED
@@ -105,7 +105,7 @@ async def demo():
|
|
105 |
return HTMLResponse(content=html_content, status_code=200)
|
106 |
|
107 |
@app.get("/stream")
|
108 |
-
async def chat(prompt = "Write a simple express server in
|
109 |
tokens = llm.tokenize(prompt)
|
110 |
async def server_sent_events(chat_chunks, llm):
|
111 |
yield prompt
|
|
|
105 |
return HTMLResponse(content=html_content, status_code=200)
|
106 |
|
107 |
@app.get("/stream")
|
108 |
+
async def chat(prompt = "<|user|> Write a simple express style server in golang"):
|
109 |
tokens = llm.tokenize(prompt)
|
110 |
async def server_sent_events(chat_chunks, llm):
|
111 |
yield prompt
|