svjack commited on
Commit
b394acf
·
1 Parent(s): 2e9fd9a

Update app.py

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