Skip to content

Commit

Permalink
Flask app (#7)
Browse files Browse the repository at this point in the history
* inittial setup, and add proposal.md

* add qc_finetuned model

* add pretrained tokenizer

* update utils

* new changes

* fix emails dataset

* qc and fgg

* Contains files used for experimenting with the datageneration with the chat-gpt API

* Final code for dataset generation that reads from the ref.txt and generates the dataset using the chatgpt api and writes into the datasetfinal.txt file

* trail code for fgen using google/pegasus summarizer

* added ClusterDataset Class

* added FGENDataLoader Class

* modified the fgen system

* Added files to experiment

* add fg sub-system

* fgen funtion

* MODIFY RESULTS (LOGGING)

* Flask app added in email2faq/web

* max height added to components

---------

Co-authored-by: ARY2260 <arb.aryan@gmail.com>
Co-authored-by: MeherRushi <sudharushi0@gmail.com>
Co-authored-by: Aryan Amit Barsainyan <75680850+ARY2260@users.noreply.github.com>
  • Loading branch information
4 people authored Apr 3, 2023
1 parent 9414e47 commit 5139490
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 0 additions & 1 deletion email2faq/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,3 @@ def preprocess(self):
# dataset = ClusterDataset(query_clusters)
# inputs_t = dataset.preprocess()
# # %%

22 changes: 22 additions & 0 deletions email2faq/web/templates/result.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,32 @@
.response1 {
margin-top: 2em;
max-width: 30em;
max-height: 15em;
overflow-y: scroll;
}

.response2{
max-width: 70em;
max-height: 15em;
overflow-y: scroll;
}

div * {
scrollbar-width: none;
}

::-webkit-scrollbar-track {
-webkit-box-shadow: none !important;
background-color: transparent;
}

::-webkit-scrollbar {
width: 3px !important;
background-color: transparent;
}

::-webkit-scrollbar-thumb {
background-color: transparent;
}

</style>
Expand Down

0 comments on commit 5139490

Please sign in to comment.