PawinC commited on
Commit
2b0e1fe
1 Parent(s): a981cff

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +2 -2
app/main.py CHANGED
@@ -127,8 +127,8 @@ async def ask_gemmaFinanceTH(
127
  return HTTPException(400, QuestionResponse(code=400, answer="Request argument 'prompt' not provided."))
128
 
129
 
130
- @app.post('/questions/finance')
131
- async def ask_gemmaFinanceTH(
132
  prompt: str = Body(..., embed=True, example="Why is ice cream so delicious?"),
133
  temperature: float = Body(0.5, embed=True),
134
  max_new_tokens: int = Body(200, embed=True)
 
127
  return HTTPException(400, QuestionResponse(code=400, answer="Request argument 'prompt' not provided."))
128
 
129
 
130
+ @app.post('/questions/open-ended')
131
+ async def ask_gemmaWild(
132
  prompt: str = Body(..., embed=True, example="Why is ice cream so delicious?"),
133
  temperature: float = Body(0.5, embed=True),
134
  max_new_tokens: int = Body(200, embed=True)