Pedro Cuenca commited on
Commit
3584703
1 Parent(s): 6be3159

Text modifications, make links unconditionally blue.

Browse files

Former-commit-id: 8536b677fbf61178613fafecc530b12cc6aa78ce

Files changed (1) hide show
  1. app/app_gradio_ngrok.py +4 -7
app/app_gradio_ngrok.py CHANGED
@@ -62,8 +62,8 @@ def run_inference(prompt):
62
  """
63
 
64
  output_description = """
65
- <p>Read more about the process <a href="https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini--Vmlldzo4NjIxODA">in our report</a>.<p>
66
- <p style='text-align: center'>Created with <a href="https://github.com/borisdayma/dalle-mini">DALLE·mini</a></p>
67
  """
68
 
69
  except ServiceError:
@@ -82,13 +82,10 @@ outputs = [
82
  ]
83
 
84
  description = """
85
- Welcome to our demo of DALL·E-mini. This project was created on TPU v3-8s during the 🤗 Flax / JAX Community Week.
86
- It reproduces the essential characteristics of OpenAI's DALL·E, at a fraction of the size.
87
-
88
- Please, write what you would like the model to generate, or select one of the examples below.
89
  """
90
  gr.Interface(run_inference,
91
- inputs=[gr.inputs.Textbox(label='Prompt')], #, gr.inputs.Slider(1,64,1,8, label='Candidates to generate'), gr.inputs.Slider(1,8,1,1, label='Best predictions to show')],
92
  outputs=outputs,
93
  title='DALL·E mini',
94
  description=description,
 
62
  """
63
 
64
  output_description = """
65
+ <p>Read our <a style="color:blue;" href="https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini--Vmlldzo4NjIxODA">full report</a> for more details on how this works.<p>
66
+ <p style='text-align: center'>Created with <a style="color:blue;" href="https://github.com/borisdayma/dalle-mini">DALL·E mini</a></p>
67
  """
68
 
69
  except ServiceError:
 
82
  ]
83
 
84
  description = """
85
+ Welcome to DALL·E-mini, a text-to-image generation model.
 
 
 
86
  """
87
  gr.Interface(run_inference,
88
+ inputs=[gr.inputs.Textbox(label='Prompt')],
89
  outputs=outputs,
90
  title='DALL·E mini',
91
  description=description,