Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,11 +42,9 @@ gr.Interface(fn=code_summarizer,
|
|
42 |
outputs=gr.outputs.Textbox(
|
43 |
type='auto',
|
44 |
label='CODE SUMMARY'),
|
45 |
-
title='Code Summarizer From CodeTrans',
|
46 |
description='Summarize any Python source code',
|
47 |
-
article='
|
48 |
-
Original repository: https://github.com/agemagician/CodeTrans
|
49 |
-
Model: SEBIS/code_trans_t5_large_source_code_summarization_python_multitask_finetune''',
|
50 |
theme='dark-peach',
|
51 |
interpretation='default',
|
52 |
layout='horizontal',
|
|
|
42 |
outputs=gr.outputs.Textbox(
|
43 |
type='auto',
|
44 |
label='CODE SUMMARY'),
|
45 |
+
title='Python 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.'], ['Original repository: https://github.com/agemagician/CodeTrans.'], ['Model: SEBIS/code_trans_t5_large_source_code_summarization_python_multitask_finetune.']],
|
|
|
|
|
48 |
theme='dark-peach',
|
49 |
interpretation='default',
|
50 |
layout='horizontal',
|