Skip to content

Commit

Permalink
Optimization 🔧
Browse files Browse the repository at this point in the history
  • Loading branch information
RajeshTechForge committed Mar 26, 2024
1 parent 40922e8 commit 3b21347
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Try my another tool
| | |
|-------------------------|------------------------|
|<a href="https://github.com/rmondal-official/PINAC-Documents">**PINAC-Documents**</a>|You can ask Question from your uploaded PDF and AI will give ans from that PDF|
|<a href="https://github.com/rmondal-official/PINAC-Documents">**PINAC-Documents**</a>|You can ask Questions from your uploaded PDF and AI will give ans from that PDF|
|||


Expand Down Expand Up @@ -52,5 +52,7 @@ Interested in contributing? Contributions to PINAC-Documents core as well as con
# 📄 License
This project is licensed under the <a href="https://github.com/rmondal-official/PINAC-Workspace/blob/1f50228e5033a7901e3b39b67d4da80d58bef0f7/LICENSE">**GPL-3.0 license**</a>

# 🤖 Author
**Rajesh Mondal**
# 🤖 Contributors
<a href="https://github.com/rmondal-official/PINAC-Workspace/graphs/contributors">
<img src="https://contrib.rocks/image?repo=rmondal-official/PINAC-Workspace" />
</a>
2 changes: 1 addition & 1 deletion UI/web/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function show_ai_ans(ans) {

let index = 0;
const timer = setInterval(function() {
p.textContent += ans[index];
p.innerHTML += ans[index].replace(/\n/g, '<br>');
container.scrollTop = container.scrollHeight;
index++;
if (index >= ans.length) {
Expand Down
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def format_datetime(timestamp: str):
def give_response(query):
response = models.ask_me(query)
print(response)
response = response.replace("\n", "<br>")

if "order is sending email" in response:
body, subject = get_subject_body(response)
Expand Down

0 comments on commit 3b21347

Please sign in to comment.