Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,10 +68,24 @@ demo = gr.Interface(
|
|
68 |
],
|
69 |
outputs="json",
|
70 |
title=f"English Comet Atomic 🦅 demonstration",
|
71 |
-
|
72 |
-
description = description,
|
73 |
examples=example_sample if example_sample else None,
|
74 |
cache_examples = False
|
75 |
)
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
demo.launch(server_name=None, server_port=None)
|
|
|
68 |
],
|
69 |
outputs="json",
|
70 |
title=f"English Comet Atomic 🦅 demonstration",
|
71 |
+
description = 'This _example_ was **drive** from <br/><b><h4>[https://github.com/svjack/COMET-ATOMIC-En-Zh](https://github.com/svjack/COMET-ATOMIC-En-Zh)</h4></b>\n',
|
72 |
+
#description = description,
|
73 |
examples=example_sample if example_sample else None,
|
74 |
cache_examples = False
|
75 |
)
|
76 |
|
77 |
+
with demo:
|
78 |
+
gr.HTML(
|
79 |
+
'''
|
80 |
+
<div style="justify-content: center; display: flex;">
|
81 |
+
<iframe
|
82 |
+
src="https://svjack-chatglm3-few-shot-demo.hf.space/?input_list_index=6"
|
83 |
+
frameborder="0"
|
84 |
+
width="1400"
|
85 |
+
height="768"
|
86 |
+
></iframe>
|
87 |
+
</div>
|
88 |
+
'''
|
89 |
+
)
|
90 |
+
|
91 |
demo.launch(server_name=None, server_port=None)
|