stmnk commited on
Commit
fc789e9
·
1 Parent(s): d3c4475

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,6 +1,8 @@
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
@@ -16,8 +18,6 @@ iface.launch(
16
  )
17
  """
18
 
19
-
20
- """
21
  code_nl = "function for db connection"
22
 
23
  CT5_URL = "https://api-inference.huggingface.co/models/stmnk/codet5-small-code-summarization-python"
@@ -91,4 +91,3 @@ iface = gr.Interface(
91
 
92
  # iface.launch(share=True) # "share" not allowed in hf spaces? (!?!?)
93
  iface.launch()
94
- """
 
1
  import gradio as gr
2
 
3
+ """
4
  gr.Interface.load("models/stmnk/codet5-small-code-summarization-python").launch()
5
+ """
6
 
7
  """
8
  import json; import gradio as gr; import requests as req
 
18
  )
19
  """
20
 
 
 
21
  code_nl = "function for db connection"
22
 
23
  CT5_URL = "https://api-inference.huggingface.co/models/stmnk/codet5-small-code-summarization-python"
 
91
 
92
  # iface.launch(share=True) # "share" not allowed in hf spaces? (!?!?)
93
  iface.launch()