svjack commited on
Commit
e8e470a
·
1 Parent(s): 0b476b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -2
app.py CHANGED
@@ -68,10 +68,24 @@ demo = gr.Interface(
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
  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)