Ahsen Khaliq commited on
Commit
43c4210
1 Parent(s): 53ca739

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,8 +1,11 @@
 
 
1
  import gradio as gr
2
  import os
3
  from pathlib import Path
4
  os.system("pip install gsutil")
5
 
 
6
  os.system("git clone --branch=main https://github.com/google-research/t5x")
7
  os.system("mv t5x t5x_tmp; mv t5x_tmp/* .; rm -r t5x_tmp")
8
  os.system("sed -i 's:jax\[tpu\]:jax:' setup.py")
@@ -286,5 +289,6 @@ gr.Interface(
286
  title=title,
287
  description=description,
288
  article=article,
289
- examples=examples
290
- ).launch(enable_queue=True,cache_examples=True)
 
 
1
+ import os
2
+ os.system("pip install gradio==2.5.3")
3
  import gradio as gr
4
  import os
5
  from pathlib import Path
6
  os.system("pip install gsutil")
7
 
8
+
9
  os.system("git clone --branch=main https://github.com/google-research/t5x")
10
  os.system("mv t5x t5x_tmp; mv t5x_tmp/* .; rm -r t5x_tmp")
11
  os.system("sed -i 's:jax\[tpu\]:jax:' setup.py")
 
289
  title=title,
290
  description=description,
291
  article=article,
292
+ examples=examples,
293
+ enable_queue=True
294
+ ).launch()