Spaces:
Runtime error
Runtime error
add examples
Browse files
app.py
CHANGED
@@ -141,7 +141,10 @@ iface = gr.Interface(
|
|
141 |
title='Generate a documentation string for Python code',
|
142 |
description='The application takes the python code for a function or class as an input an generates a documentation string for it using codeT5 fine tuned for code2text generation',
|
143 |
article='_article_ *bold*',
|
144 |
-
theme='
|
|
|
|
|
|
|
145 |
)
|
146 |
|
147 |
iface.launch(share=True)
|
|
|
141 |
title='Generate a documentation string for Python code',
|
142 |
description='The application takes the python code for a function or class as an input an generates a documentation string for it using codeT5 fine tuned for code2text generation',
|
143 |
article='_article_ *bold*',
|
144 |
+
theme='grass',
|
145 |
+
examples=[['code 1'],['code 2']],
|
146 |
+
verbose=True,
|
147 |
+
show_tips=True
|
148 |
)
|
149 |
|
150 |
iface.launch(share=True)
|