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