stmnk commited on
Commit
95829d6
·
1 Parent(s): e37cac1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,12 +1,13 @@
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
 
4
  def greet(name):
5
  return "Hello " + name + "!!"
6
 
7
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
  iface.launch(
9
- # share=True # RuntimeError: Share is not supported when you are in Spaces (!?!?!?)
 
10
  )
11
 
12
  """
 
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
 
4
  def greet(name):
5
  return "Hello " + name + "!!"
6
 
7
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
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
  """