svjack commited on
Commit
5cf6115
·
1 Parent(s): 1f8d912

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -2
app.py CHANGED
@@ -31,11 +31,25 @@ demo = gr.Interface(
31
  inputs="text",
32
  outputs="json",
33
  title=f"Question generate 🍩 demonstration",
34
- #description = 'This _example_ was **drive** from <br/><b><h4>[https://github.com/svjack/docvqa-gen](https://github.com/svjack/docvqa-gen)</h4></b>\n',
35
- description = description,
36
  examples=example_sample if example_sample else None,
37
  cache_examples = False
38
  )
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  #demo.launch(server_name=None, server_port=None)
41
  demo.launch()
 
31
  inputs="text",
32
  outputs="json",
33
  title=f"Question generate 🍩 demonstration",
34
+ description = 'This _example_ was **drive** from <br/><b><h4>[https://github.com/svjack/docvqa-gen](https://github.com/svjack/docvqa-gen)</h4></b>\n',
35
+ #description = description,
36
  examples=example_sample if example_sample else None,
37
  cache_examples = False
38
  )
39
 
40
+ with demo:
41
+ gr.HTML(
42
+ '''
43
+ <div style="justify-content: center; display: flex;">
44
+ <iframe
45
+ src="https://svjack-chatglm3-few-shot-demo.hf.space/?input_list_index=4"
46
+ frameborder="0"
47
+ width="1400"
48
+ height="768"
49
+ ></iframe>
50
+ </div>
51
+ '''
52
+ )
53
+
54
  #demo.launch(server_name=None, server_port=None)
55
  demo.launch()