Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,11 @@ llm = Llama.from_pretrained(
|
|
| 10 |
filename="Phi-3-mini-4k-instruct-q4.gguf",
|
| 11 |
)
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
@app.post("/chat")
|
| 14 |
async def chat(request: Request):
|
| 15 |
try:
|
|
|
|
| 10 |
filename="Phi-3-mini-4k-instruct-q4.gguf",
|
| 11 |
)
|
| 12 |
|
| 13 |
+
@app.get('/')
|
| 14 |
+
def home():
|
| 15 |
+
return "<h1>home</h1>"
|
| 16 |
+
|
| 17 |
+
|
| 18 |
@app.post("/chat")
|
| 19 |
async def chat(request: Request):
|
| 20 |
try:
|