Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
3 |
def embed_widget_code():
|
4 |
return gr.outputs.HTML('''
|
5 |
<!--OST Widget code start-->
|
@@ -14,8 +16,6 @@ def embed_widget_code():
|
|
14 |
<!-- OST Widget code end -->
|
15 |
''')
|
16 |
|
17 |
-
iface = gr.Interface(embed_widget_code, inputs={}, outputs="html",
|
18 |
-
examples=[], enable_queue=True,
|
19 |
-
layout="unaligned", capture_session=True)
|
20 |
-
|
21 |
iface.launch()
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
def embed_widget_code():
|
6 |
return gr.outputs.HTML('''
|
7 |
<!--OST Widget code start-->
|
|
|
16 |
<!-- OST Widget code end -->
|
17 |
''')
|
18 |
|
19 |
+
iface = gr.Interface(embed_widget_code, inputs={}, outputs="html", capture_session=False)
|
|
|
|
|
|
|
20 |
iface.launch()
|
21 |
+
|