gruhit-patel
commited on
Commit
·
1821ee5
1
Parent(s):
7bbb8c5
updated main.py
Browse files
main.py
CHANGED
@@ -48,6 +48,7 @@ def root(request: QuoteRequest):
|
|
48 |
|
49 |
@app.post("/generate_quote", dependencies=[Depends(api_key_auth)])
|
50 |
def generate_quote(req: QuoteRequest):
|
|
|
51 |
generated_quote_oup = quote_generator.generate_quote(
|
52 |
tags = req.tags,
|
53 |
max_new_tokens = req.max_new_tokens,
|
|
|
48 |
|
49 |
@app.post("/generate_quote", dependencies=[Depends(api_key_auth)])
|
50 |
def generate_quote(req: QuoteRequest):
|
51 |
+
print("\nIncoming request \n", req.__dict__, end='\n\n')
|
52 |
generated_quote_oup = quote_generator.generate_quote(
|
53 |
tags = req.tags,
|
54 |
max_new_tokens = req.max_new_tokens,
|