Spaces:
Running
on
T4
Running
on
T4
da03
commited on
Commit
•
7fbd132
1
Parent(s):
84a83de
app.py
CHANGED
@@ -8,13 +8,13 @@ API_ENDPOINT = os.getenv('API_ENDPOINT')
|
|
8 |
API_KEY = os.getenv('API_KEY')
|
9 |
|
10 |
title = "<h1><center>Markup-to-Image Diffusion Models with Scheduled Sampling</center></h1>"
|
11 |
-
|
12 |
-
|
13 |
|
14 |
with gr.Blocks() as demo:
|
15 |
gr.Markdown(title)
|
16 |
-
gr.Markdown(
|
17 |
-
gr.Markdown(
|
18 |
with gr.Row():
|
19 |
with gr.Column(scale=2):
|
20 |
textbox = gr.Textbox(label=r'Type LaTeX formula below and click "Generate"', lines=1, max_lines=1, placeholder='Type LaTeX formula here and click "Generate"', value=r'\sum_{t=1}^T\E_{y_t \sim {\tilde P(y_t| y_0)}} \left\| \frac{y_t - \sqrt{\bar{\alpha}_t}y_0}{\sqrt{1-\bar{\alpha}_t}} - \epsilon_\theta(y_t, t)\right\|^2.')
|
|
|
8 |
API_KEY = os.getenv('API_KEY')
|
9 |
|
10 |
title = "<h1><center>Markup-to-Image Diffusion Models with Scheduled Sampling</center></h1>"
|
11 |
+
authors = "<center>Yuntian Deng, Noriyuki Kojima, Alexander M. Rush</center>"
|
12 |
+
info = '<center><a href="https://arxiv.org/pdf/2210.05147.pdf">Paper</a> <a href="https://github.com/da03/markup2im">Code</a></center>'
|
13 |
|
14 |
with gr.Blocks() as demo:
|
15 |
gr.Markdown(title)
|
16 |
+
gr.Markdown(authors)
|
17 |
+
gr.Markdown(info)
|
18 |
with gr.Row():
|
19 |
with gr.Column(scale=2):
|
20 |
textbox = gr.Textbox(label=r'Type LaTeX formula below and click "Generate"', lines=1, max_lines=1, placeholder='Type LaTeX formula here and click "Generate"', value=r'\sum_{t=1}^T\E_{y_t \sim {\tilde P(y_t| y_0)}} \left\| \frac{y_t - \sqrt{\bar{\alpha}_t}y_0}{\sqrt{1-\bar{\alpha}_t}} - \epsilon_\theta(y_t, t)\right\|^2.')
|