svjack commited on
Commit
a942c95
·
1 Parent(s): b8dccb0

Update app.py

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