Spaces:
Build error
Build error
Further debugging of app.py
#4
by
Addaci
- opened
Summary of Changes:
Summarize Legal Text:
Corrected the logic by ensuring max_new_tokens and temperature are passed properly to the model’s generate() method.
Correct Raw HTR Text:
Fixed the input handling by ensuring the text tokenization is consistent with the model’s requirements.
Answer Legal Question:
Decoupled the textboxes to make sure each tab functions independently. Now, the "Enter your question" input will work properly even when the summarization tab has pre-existing text.
Addaci
changed pull request status to
merged