Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import json; import gradio as gr; import requests as req
|
2 |
# from strings import dfs_code, function_code, real_docstring, tree_code, insert_code, display_code, article_string, descr_string
|
3 |
|
@@ -9,6 +14,8 @@ iface.launch(
|
|
9 |
# share=True # RuntimeError: Share is not supported when you are in Spaces (!?!?!?)
|
10 |
# share=False # To create a public link, set `share=True` in `launch()`.
|
11 |
)
|
|
|
|
|
12 |
|
13 |
"""
|
14 |
code_nl = "function for db connection"
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
gr.Interface.load("models/stmnk/codet5-small-code-summarization-python").launch()
|
4 |
+
|
5 |
+
"""
|
6 |
import json; import gradio as gr; import requests as req
|
7 |
# from strings import dfs_code, function_code, real_docstring, tree_code, insert_code, display_code, article_string, descr_string
|
8 |
|
|
|
14 |
# share=True # RuntimeError: Share is not supported when you are in Spaces (!?!?!?)
|
15 |
# share=False # To create a public link, set `share=True` in `launch()`.
|
16 |
)
|
17 |
+
"""
|
18 |
+
|
19 |
|
20 |
"""
|
21 |
code_nl = "function for db connection"
|