jasleen02 commited on
Commit
df2c04a
·
verified ·
1 Parent(s): ec0ffa2

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +11 -5
index.html CHANGED
@@ -18,7 +18,7 @@
18
 
19
  <style>
20
  html, body {
21
- height: 100%;
22
  margin: 0;
23
  padding: 0;
24
  }
@@ -32,11 +32,17 @@
32
 
33
  <body>
34
  <gradio-lite>
35
- <gradio-requirements>
36
- filelock==3.16.1
37
- </gradio-requirements>
38
-
39
  <gradio-file name="app.py" entrypoint>
 
 
 
 
 
 
 
 
 
 
40
  import gradio as gr
41
 
42
  def greet(name):
 
18
 
19
  <style>
20
  html, body {
21
+ min-height: 100%;
22
  margin: 0;
23
  padding: 0;
24
  }
 
32
 
33
  <body>
34
  <gradio-lite>
 
 
 
 
35
  <gradio-file name="app.py" entrypoint>
36
+ import os
37
+
38
+ # Compatibility workaround for Pyodide's os.link implementation.
39
+ _original_link = os.link
40
+
41
+ def _compatible_link(src, dst, *, follow_symlinks=True):
42
+ return _original_link(src, dst)
43
+
44
+ os.link = _compatible_link
45
+
46
  import gradio as gr
47
 
48
  def greet(name):