egmaminta commited on
Commit
50a86a7
·
1 Parent(s): cb8c1bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -43,11 +43,11 @@ gr.Interface(fn=code_summarizer,
43
  type='auto',
44
  label='CODE SUMMARY'),
45
  title='Code Summarizer From CodeTrans',
46
- description='Summarize any Python source code (Model from SEBIS/code_trans_t5_large_source_code_summarization_python_multitask_finetune)',
47
- article='Additional info: This CodeTrans model is based on the T5-large model architecture pretrained on the Python programming language. This model is trained on tokenized python code functions, which is why it works best with tokenized python functions. It has its own SentencePiece vocabulary model. It used multi-task training on 13 supervised tasks in the software development domain and 7 unsupervised datasets. It is then fine-tuned on the source code summarization task for the python code snippets. The original repository is found in this link: https://github.com/agemagician/CodeTrans',
48
  theme='dark-peach',
49
  interpretation='default',
50
- layout='vertical',
51
  live=True,
52
  examples=call_examples(),
53
  allow_flagging='never').launch(inbrowser=True)
 
43
  type='auto',
44
  label='CODE SUMMARY'),
45
  title='Code Summarizer From CodeTrans',
46
+ description='Summarize any Python source code',
47
+ article='Additional info: This CodeTrans model is based on the T5-large model architecture pretrained on the Python programming language. This model is trained on tokenized python code functions, which is why it works best with tokenized python functions. It has its own SentencePiece vocabulary model. It used multi-task training on 13 supervised tasks in the software development domain and 7 unsupervised datasets. It is then fine-tuned on the source code summarization task for the python code snippets.\nOriginal repository: https://github.com/agemagician/CodeTrans\nModel: SEBIS/code_trans_t5_large_source_code_summarization_python_multitask_finetune',
48
  theme='dark-peach',
49
  interpretation='default',
50
+ layout='horizontal',
51
  live=True,
52
  examples=call_examples(),
53
  allow_flagging='never').launch(inbrowser=True)