Update app.py
Browse files
app.py
CHANGED
@@ -41,10 +41,24 @@ demo = gr.Interface(
|
|
41 |
],
|
42 |
outputs="json",
|
43 |
title=f"English Context Dialogue Generator 🦅 demonstration",
|
44 |
-
|
45 |
-
description = description,
|
46 |
examples=example_sample if example_sample else None,
|
47 |
cache_examples = False
|
48 |
)
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
demo.launch(server_name=None, server_port=None)
|
|
|
41 |
],
|
42 |
outputs="json",
|
43 |
title=f"English Context Dialogue Generator 🦅 demonstration",
|
44 |
+
description = 'This _example_ was **drive** from <br/><b><h4>[https://github.com/svjack/Context2Dialogue](https://github.com/svjack/Context2Dialogue)</h4></b>\n',
|
45 |
+
#description = description,
|
46 |
examples=example_sample if example_sample else None,
|
47 |
cache_examples = False
|
48 |
)
|
49 |
|
50 |
+
with demo:
|
51 |
+
gr.HTML(
|
52 |
+
'''
|
53 |
+
<div style="justify-content: center; display: flex;">
|
54 |
+
<iframe
|
55 |
+
src="https://svjack-chatglm3-few-shot-demo.hf.space/?input_list_index=8"
|
56 |
+
frameborder="0"
|
57 |
+
width="1400"
|
58 |
+
height="768"
|
59 |
+
></iframe>
|
60 |
+
</div>
|
61 |
+
'''
|
62 |
+
)
|
63 |
+
|
64 |
demo.launch(server_name=None, server_port=None)
|