Spaces:
Runtime error
Runtime error
Francisco Santos
commited on
Commit
·
913172d
1
Parent(s):
d62b308
flagging
Browse files- app.py +3 -1
- flagged/log.csv +71 -0
app.py
CHANGED
|
@@ -378,7 +378,9 @@ iface = gr.Interface(fn=process_files,
|
|
| 378 |
[example1, solution1],
|
| 379 |
[example2, solution2],
|
| 380 |
[example3, solution3],
|
| 381 |
-
]
|
|
|
|
|
|
|
| 382 |
|
| 383 |
|
| 384 |
iface.launch()
|
|
|
|
| 378 |
[example1, solution1],
|
| 379 |
[example2, solution2],
|
| 380 |
[example3, solution3],
|
| 381 |
+
],
|
| 382 |
+
allow_flagging="manual",
|
| 383 |
+
)
|
| 384 |
|
| 385 |
|
| 386 |
iface.launch()
|
flagged/log.csv
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Upload HTML File,Upload JSON File,Output,flag,username,timestamp
|
| 2 |
+
"<!DOCTYPE html>
|
| 3 |
+
<html>
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset=""UTF-8"">
|
| 6 |
+
<title>Contact Form</title>
|
| 7 |
+
</head>
|
| 8 |
+
<body>
|
| 9 |
+
<h1>Contact Form</h1>
|
| 10 |
+
<form action=""/submit-form"" method=""POST"">
|
| 11 |
+
<label for=""name"">Name:</label>
|
| 12 |
+
<input type=""text"" id=""name"" name=""name"" required>
|
| 13 |
+
<br>
|
| 14 |
+
<label for=""email"">Email:</label>
|
| 15 |
+
<input type=""email"" id=""email"" name=""email"" required>
|
| 16 |
+
<br>
|
| 17 |
+
<label for=""location"">Location:</label>
|
| 18 |
+
<input type=""text"" id=""location"" name=""location"" required>
|
| 19 |
+
<br>
|
| 20 |
+
<label for=""github"">GitHub:</label>
|
| 21 |
+
<input type=""url"" id=""github"" name=""github"" required>
|
| 22 |
+
<br>
|
| 23 |
+
<label for=""linkedin"">LinkedIn:</label>
|
| 24 |
+
<input type=""url"" id=""linkedin"" name=""linkedin"" required>
|
| 25 |
+
<br>
|
| 26 |
+
<label for=""phone"">Phone:</label>
|
| 27 |
+
<input type=""tel"" id=""phone"" name=""phone"" required>
|
| 28 |
+
<br><br>
|
| 29 |
+
<input type=""submit"" value=""Submit"">
|
| 30 |
+
</form>
|
| 31 |
+
</body>
|
| 32 |
+
</html>
|
| 33 |
+
","'{
|
| 34 |
+
""name"": ""Ana Guida"",
|
| 35 |
+
""email"": ""example@gmail.com"",
|
| 36 |
+
""location"": ""Amsterdam, Netherlands"",
|
| 37 |
+
""github"": ""https://github.com/34kmddfn"",
|
| 38 |
+
""linkedin"": ""https://www.linkedin.com/in/ana-rguida/"",
|
| 39 |
+
""phone"": ""+351 928 169 341""
|
| 40 |
+
}","<!DOCTYPE html>
|
| 41 |
+
<html>
|
| 42 |
+
<head>
|
| 43 |
+
<meta charset=""UTF-8"">
|
| 44 |
+
<title>Contact Form</title>
|
| 45 |
+
</head>
|
| 46 |
+
<body>
|
| 47 |
+
<h1>Contact Form</h1>
|
| 48 |
+
<form action=""/submit-form"" method=""POST"">
|
| 49 |
+
<label for=""name"">Name:</label>
|
| 50 |
+
<input type=""text"" id=""name"" name=""name"" required><!-- Input: <Ana Guida> - certainty: 0.83 -->
|
| 51 |
+
<br>
|
| 52 |
+
<label for=""email"">Email:</label>
|
| 53 |
+
<input type=""email"" id=""email"" name=""email"" required><!-- Input: <select> - certainty: 0.44. LINE TO SELECT: <example@gmail.com> - certainty: 0.62 -->
|
| 54 |
+
<br>
|
| 55 |
+
<label for=""location"">Location:</label>
|
| 56 |
+
<input type=""text"" id=""location"" name=""location"" required><!-- Input: <Amsterdam, Netherlands> - certainty: 0.85 -->
|
| 57 |
+
<br>
|
| 58 |
+
<label for=""github"">GitHub:</label>
|
| 59 |
+
<input type=""url"" id=""github"" name=""github"" required><!-- Input: <https://github.com/34kmddfn> - certainty: 0.68 -->
|
| 60 |
+
<br>
|
| 61 |
+
<label for=""linkedin"">LinkedIn:</label>
|
| 62 |
+
<input type=""url"" id=""linkedin"" name=""linkedin"" required>
|
| 63 |
+
<br>
|
| 64 |
+
<label for=""phone"">Phone:</label>
|
| 65 |
+
<input type=""tel"" id=""phone"" name=""phone"" required><!-- Input: <select> - certainty: 0.39. LINE TO SELECT: <+351 928 169 341> - certainty: 0.86 -->
|
| 66 |
+
<br><br>
|
| 67 |
+
<input type=""submit"" value=""Submit""><!-- Input: <button> - certainty: 0.38 -->
|
| 68 |
+
</form>
|
| 69 |
+
</body>
|
| 70 |
+
</html>
|
| 71 |
+
",,,2023-08-21 14:32:59.391753
|