Jakub Kwiatkowski commited on
Commit
521eeaf
·
1 Parent(s): 575eae1
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -6,13 +6,13 @@ demo = gr.Blocks()
6
  import models
7
 
8
  with demo:
9
- # headline = gr.Markdown("## Raven resolver ")
10
- # markdown = gr.Markdown("Below we show all 9 images from raven matrix. "
11
- # "Model gets 8 images and predicts the properties of last one. "
12
- # "Based on this properties the answer image is render in the right panel. <br />"
13
- # "Note that angle rotation is only used as a noise. "
14
- # "There are not rules applied to angle property, so angle rotation of final output do not need to be the same as in example. "
15
- # "Additionally there are cases that other properties could be used as noise.")
16
  with gr.Row():
17
  with gr.Column():
18
  with gr.Row():
@@ -25,8 +25,8 @@ with demo:
25
  # button = gr.Button("Run")
26
  with gr.Row():
27
  image = gr.Image(value=load_example(models.START_IMAGE)[0], label="Raven matrix")
28
- # desc = gr.Markdown(value=load_example(models.START_IMAGE)[1])
29
- desc = gr.Text(value=load_example(models.START_IMAGE)[1])
30
 
31
  with gr.Column():
32
  with gr.Row():
 
6
  import models
7
 
8
  with demo:
9
+ headline = gr.Markdown("## Raven resolver ")
10
+ markdown = gr.Markdown("Below we show all 9 images from raven matrix. "
11
+ "Model gets 8 images and predicts the properties of last one. "
12
+ "Based on this properties the answer image is render in the right panel. <br />"
13
+ "Note that angle rotation is only used as a noise. "
14
+ "There are not rules applied to angle property, so angle rotation of final output do not need to be the same as in example. "
15
+ "Additionally there are cases that other properties could be used as noise.")
16
  with gr.Row():
17
  with gr.Column():
18
  with gr.Row():
 
25
  # button = gr.Button("Run")
26
  with gr.Row():
27
  image = gr.Image(value=load_example(models.START_IMAGE)[0], label="Raven matrix")
28
+ desc = gr.Markdown(value=load_example(models.START_IMAGE)[1])
29
+ # desc = gr.Text(value=load_example(models.START_IMAGE)[1])
30
 
31
  with gr.Column():
32
  with gr.Row():