Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
|
|
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 |
"""
|