fxmeng commited on
Commit
971862b
1 Parent(s): c18c55c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -20,6 +20,10 @@ def process_text(api_key, example, question):
20
 
21
  return image, answer
22
 
 
 
 
 
23
  demo = gr.Interface(
24
  fn=process_text,
25
  inputs=[
@@ -31,7 +35,7 @@ demo = gr.Interface(
31
  outputs=[
32
  gr.Image(type="pil", label="Image Generated by DALL·E 3", image_mode="fixed", width=768, height=768),
33
  gr.Textbox(label="Answer")],
34
- title="Chain of Images for Intuitively Reasoning"
35
  )
36
 
37
  if __name__ == "__main__":
 
20
 
21
  return image, answer
22
 
23
+ title_html = """
24
+ <a href='https://github.com/GraphPKU/CoI' target='coi'>Chain of Images for Intuitively Reasoning</a>
25
+ """
26
+
27
  demo = gr.Interface(
28
  fn=process_text,
29
  inputs=[
 
35
  outputs=[
36
  gr.Image(type="pil", label="Image Generated by DALL·E 3", image_mode="fixed", width=768, height=768),
37
  gr.Textbox(label="Answer")],
38
+ title=title_html
39
  )
40
 
41
  if __name__ == "__main__":