m3hrdadfi commited on
Commit
62ee15a
1 Parent(s): 8619f5d
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -50,7 +50,7 @@ class TextGeneration:
50
  '1 potato',
51
  '1 slice cheese',
52
  ],
53
- 'title': 'Cheese Potatoes'
54
  }
55
  self.tokenizer = None
56
  self.generator = None
@@ -100,12 +100,12 @@ class TextGeneration:
100
  ws, hs = 120, 500
101
  im_editable.text(
102
  (ws, hs),
103
- textwrap.fill(recipe["title"], 50),
104
  (61, 61, 70),
105
  font=self.h1_font,
106
  )
107
  # Ingredients
108
- hs = hs + 250
109
  im_editable.text(
110
  (ws, hs),
111
  "Ingredients",
 
50
  '1 potato',
51
  '1 slice cheese',
52
  ],
53
+ 'title': 'Cheese Potatoes with Some other items'
54
  }
55
  self.tokenizer = None
56
  self.generator = None
 
100
  ws, hs = 120, 500
101
  im_editable.text(
102
  (ws, hs),
103
+ textwrap.fill(recipe["title"], 20),
104
  (61, 61, 70),
105
  font=self.h1_font,
106
  )
107
  # Ingredients
108
+ hs = hs + 270
109
  im_editable.text(
110
  (ws, hs),
111
  "Ingredients",