svjack commited on
Commit
6268f3d
·
1 Parent(s): ed60fda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -2
app.py CHANGED
@@ -64,10 +64,24 @@ demo = gr.Interface(
64
  ],
65
  outputs="json",
66
  title=f"Chinese Comet Atomic 🐰 demonstration",
67
- #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',
68
- description = description,
69
  examples=example_sample if example_sample else None,
70
  cache_examples = False
71
  )
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  demo.launch(server_name=None, server_port=None)
 
64
  ],
65
  outputs="json",
66
  title=f"Chinese Comet Atomic 🐰 demonstration",
67
+ 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',
68
+ #description = description,
69
  examples=example_sample if example_sample else None,
70
  cache_examples = False
71
  )
72
 
73
+ with demo:
74
+ gr.HTML(
75
+ '''
76
+ <div style="justify-content: center; display: flex;">
77
+ <iframe
78
+ src="https://svjack-chatglm3-few-shot-demo.hf.space/?input_list_index=5"
79
+ frameborder="0"
80
+ width="1400"
81
+ height="768"
82
+ ></iframe>
83
+ </div>
84
+ '''
85
+ )
86
+
87
  demo.launch(server_name=None, server_port=None)