AmanChintada2426 commited on
Commit
8532cb7
·
verified ·
1 Parent(s): 2af0547

Update app.py

Browse files

Changed 'GenerateResponse' to 'GenerateResponse3' in @app .post for the 'qa_automation' function

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -249,7 +249,7 @@ def api_home():
249
  def inference(input_prompt: Prompt):
250
  return summarize_text(text=input_prompt.text)
251
 
252
- @app.post("/api/qautomation", summary="Generate text from prompt", tags=["Generate"], response_model=GenerateResponse)
253
  def inference(input_prompt: Prompt):
254
  return qa_automation(text=input_prompt.text)
255
 
 
249
  def inference(input_prompt: Prompt):
250
  return summarize_text(text=input_prompt.text)
251
 
252
+ @app.post("/api/qautomation", summary="Generate text from prompt", tags=["Generate"], response_model=GenerateResponse3)
253
  def inference(input_prompt: Prompt):
254
  return qa_automation(text=input_prompt.text)
255