Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -165,7 +165,7 @@ def rewrite_query(question):
|
|
| 165 |
return "What is the dress code policy for employees regarding casual attire?"
|
| 166 |
return question
|
| 167 |
|
| 168 |
-
@app.post("/
|
| 169 |
async def ask(question: Question):
|
| 170 |
print('ask route reached')
|
| 171 |
try:
|
|
|
|
| 165 |
return "What is the dress code policy for employees regarding casual attire?"
|
| 166 |
return question
|
| 167 |
|
| 168 |
+
@app.post("/chat")
|
| 169 |
async def ask(question: Question):
|
| 170 |
print('ask route reached')
|
| 171 |
try:
|