Francisco Santos commited on
Commit
a0f285a
1 Parent(s): b3bdcbf

examples 4

Browse files
Files changed (3) hide show
  1. .DS_Store +0 -0
  2. app.py +4 -4
  3. output.html +0 -31
.DS_Store ADDED
Binary file (6.15 kB). View file
 
app.py CHANGED
@@ -163,10 +163,10 @@ iface = gr.Interface(fn=process_files,
163
  outputs="text",
164
  examples=[
165
  # ["./examples/form0.html", "./examples/form0_answer.json"],
166
- ["./examples/form1.html", "./examples/form1_answer.json"],
167
- ["./examples/form2.html", "./examples/form2_answer.json"],
168
- ["./examples/form3.html", "./examples/form3_answer.json"],
169
- ["./examples/form4.html", "./examples/form4_answer.json"]
170
  ])
171
 
172
 
 
163
  outputs="text",
164
  examples=[
165
  # ["./examples/form0.html", "./examples/form0_answer.json"],
166
+ ["./public/form1.html", "./public/form1_answer.json"],
167
+ ["./public/form2.html", "./public/form2_answer.json"],
168
+ ["./public/form3.html", "./public/form3_answer.json"],
169
+ ["./public/form4.html", "./public/form4_answer.json"]
170
  ])
171
 
172
 
output.html DELETED
@@ -1,31 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>Contact Form</title>
6
- </head>
7
- <body>
8
- <h1>Contact Form</h1>
9
- <form action="/submit-form" method="POST">
10
- <label for="name">Name:</label>
11
- <input type="text" id="name" name="name" required><!-- Input: Please fill in the name field. with this certainty: 0.8276665210723877 -->
12
- <br>
13
- <label for="email">Email:</label>
14
- <input type="email" id="email" name="email" required><!-- Input: frs98com@gmail.com with this certainty: 0.8814952373504639 -->
15
- <br>
16
- <label for="location">Location:</label>
17
- <input type="text" id="location" name="location" required><!-- Input: Amsterdam, Netherlands with this certainty: 0.845346212387085 -->
18
- <br>
19
- <label for="github">GitHub:</label>
20
- <input type="url" id="github" name="github" required><!-- Input: https://github.com/qtoino with this certainty: 0.6784256100654602 -->
21
- <br>
22
- <label for="linkedin">LinkedIn:</label>
23
- <input type="url" id="linkedin" name="linkedin" required><!-- Input: https://www.linkedin.com/in/francisco-rsantos/ with this certainty: 0.735436737537384 -->
24
- <br>
25
- <label for="phone">Phone:</label>
26
- <input type="tel" id="phone" name="phone" required><!-- Input: +351 927 050 265 with this certainty: 0.8759291768074036 -->
27
- <br><br>
28
- <input type="submit" value="Submit"><!-- Input: Please fill in the name field. with this certainty: 0.2793944180011749 -->
29
- </form>
30
- </body>
31
- </html>