Spaces:
Running
Running
Update Gradio_UI.py
Browse files- Gradio_UI.py +2 -3
Gradio_UI.py
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
# See the License for the specific language governing permissions and
|
15 |
# limitations under the License.
|
16 |
import mimetypes
|
17 |
-
|
18 |
import os
|
19 |
import re
|
20 |
import shutil
|
@@ -61,8 +61,7 @@ def get_examples():
|
|
61 |
example_content = ""
|
62 |
with open(file_path, "r", encoding="utf-8", errors="ignore") as f:
|
63 |
example_content = f.read()
|
64 |
-
|
65 |
-
example_content = html.escape(example_content)
|
66 |
examples.append(example_content) # Read the content and append it to the list
|
67 |
|
68 |
|
|
|
14 |
# See the License for the specific language governing permissions and
|
15 |
# limitations under the License.
|
16 |
import mimetypes
|
17 |
+
|
18 |
import os
|
19 |
import re
|
20 |
import shutil
|
|
|
61 |
example_content = ""
|
62 |
with open(file_path, "r", encoding="utf-8", errors="ignore") as f:
|
63 |
example_content = f.read()
|
64 |
+
|
|
|
65 |
examples.append(example_content) # Read the content and append it to the list
|
66 |
|
67 |
|