aryandudul commited on
Commit
40937fd
1 Parent(s): 6881248

Upload 2 files

Browse files
Files changed (2) hide show
  1. index.html +21 -19
  2. result.html +16 -0
index.html CHANGED
@@ -1,19 +1,21 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Upload UML Diagram</title>
7
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
8
+ </head>
9
+ <body>
10
+ <div class="container mt-5">
11
+ <h1 class="text-center">Upload UML Diagram</h1>
12
+ <form action="/upload" method="post" enctype="multipart/form-data">
13
+ <div class="form-group">
14
+ <label for="file">Choose UML diagram image</label>
15
+ <input type="file" class="form-control-file" id="file" name="file" required>
16
+ </div>
17
+ <button type="submit" class="btn btn-primary">Upload</button>
18
+ </form>
19
+ </div>
20
+ </body>
21
+ </html>
result.html ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Generated XML</title>
7
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
8
+ </head>
9
+ <body>
10
+ <div class="container mt-5">
11
+ <h1 class="text-center">Generated XML</h1>
12
+ <pre>{{ result }}</pre>
13
+ <a href="/" class="btn btn-primary">Upload Another</a>
14
+ </div>
15
+ </body>
16
+ </html>