Arafath10 commited on
Commit
838f637
1 Parent(s): cf65be7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -28,7 +28,7 @@ class Prompt(BaseModel):
28
  original_prompt: str
29
  @app.post("/get_compressed_text")
30
  async def get_compressed_text(prompt: Prompt):
31
- compressed_prompt = llm_lingua.compress_prompt(prompt.original_propmt, instruction="", question="")
32
  print("compressed")
33
  return compressed_prompt
34
 
 
28
  original_prompt: str
29
  @app.post("/get_compressed_text")
30
  async def get_compressed_text(prompt: Prompt):
31
+ compressed_prompt = llm_lingua.compress_prompt(prompt.original_prompt, instruction="", question="")
32
  print("compressed")
33
  return compressed_prompt
34