Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -15,27 +15,11 @@ def main_model(input_image):
|
|
15 |
return result
|
16 |
|
17 |
|
18 |
-
interface_title = "<br> <p style='margin: 0% 8% 0% 8%'>
|
19 |
-
interface_description = """<p style='margin: 0% 8% 2% 8%; text-align: justify;text-justify: inter-word;'>
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
the code bases and website structures we come up with an automated system. In this work, we showed and proposed that
|
24 |
-
methods of deep learning and computer vision can be grasped to train a model that will automatically generate HTML
|
25 |
-
code from a single input mockup image and try to build an end-to-end automated system with accuracy more than
|
26 |
-
previous works for developing the structures of web pages.</p> """
|
27 |
-
|
28 |
-
interface_article = """<br><h2 style='text-align: center;'>Limitations of Model</h2> <p style='text-align:
|
29 |
-
center;'>Certain limitations are there in the model some of them are listed below</p> <ul><li>Sometimes the model do
|
30 |
-
produce all the buttons with the same green color instead of other colors</li><li>As the model has fed with the data
|
31 |
-
provided, and so while producing the code on some other types of images might not generate the code we
|
32 |
-
wanted</li><li>The model is only trained upon the learning and recognition of boxes and buttons etc. in the images
|
33 |
-
and it do not write the text written exactly on the images</li></ul>
|
34 |
-
<div style='text-align: center;'> <br><br><a
|
35 |
-
href='https://twitter.com/taneemishere' target='_blank'>Developed by Taneem Jan</a> </div> <div style='text-align:
|
36 |
-
center;'> <a href='https://taneemishere.github.io/projects/project-one.html' target='_blank'>Paper</a>    
|
37 |
-
<a href='https://github.com/taneemishere/html-code-generation-from-images-with-deep-neural-networks'
|
38 |
-
target='_blank'>Code</a> </div> """
|
39 |
|
40 |
interface_examples = ['examples/example-1.png', 'examples/example-2.png', 'examples/example-3.png']
|
41 |
|
|
|
15 |
return result
|
16 |
|
17 |
|
18 |
+
interface_title = "<br> <p style='margin: 0% 8% 0% 8%'>Front end Code Generation with Deep Neural Networks</p>"
|
19 |
+
interface_description = """<p style='margin: 0% 8% 2% 8%; text-align: justify;text-justify: inter-word;'> Input sketch image and select the framework
|
20 |
+
and click on submit to generate</p> """
|
21 |
+
|
22 |
+
interface_article = """<br><h2 style='text-align: center;'>Creafted with care from Jude</h2> """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
interface_examples = ['examples/example-1.png', 'examples/example-2.png', 'examples/example-3.png']
|
25 |
|