Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,9 +50,24 @@ demo = gr.Interface(
|
|
50 |
outputs="json",
|
51 |
title=f"Bloom English Daliy Dialogue Generator π¦
πΈ demonstration",
|
52 |
examples=example_sample if example_sample else None,
|
53 |
-
|
54 |
-
description = description,
|
55 |
cache_examples = False
|
56 |
)
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
demo.launch(server_name=None, server_port=None)
|
|
|
50 |
outputs="json",
|
51 |
title=f"Bloom English Daliy Dialogue Generator π¦
πΈ demonstration",
|
52 |
examples=example_sample if example_sample else None,
|
53 |
+
description = 'This _example_ was **drive** from <br/><b><h4>[https://github.com/svjack/Daliy-Dialogue](https://github.com/svjack/Daliy-Dialogue)</h4></b>\n',
|
54 |
+
#description = description,
|
55 |
cache_examples = False
|
56 |
)
|
57 |
|
58 |
+
with demo:
|
59 |
+
gr.HTML(
|
60 |
+
'''
|
61 |
+
<div style="justify-content: center; display: flex;">
|
62 |
+
<iframe
|
63 |
+
src="https://svjack-chatglm3-few-shot-demo.hf.space/?input_list_index=11"
|
64 |
+
frameborder="0"
|
65 |
+
width="1400"
|
66 |
+
height="768"
|
67 |
+
></iframe>
|
68 |
+
</div>
|
69 |
+
'''
|
70 |
+
)
|
71 |
+
|
72 |
+
|
73 |
demo.launch(server_name=None, server_port=None)
|