Ahsen Khaliq
commited on
Commit
·
cd06cc6
1
Parent(s):
2099849
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import os
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
from pathlib import Path
|
| 4 |
os.system("pip install gsutil")
|
|
@@ -288,6 +289,7 @@ gr.Interface(
|
|
| 288 |
description=description,
|
| 289 |
article=article,
|
| 290 |
examples=examples,
|
| 291 |
-
allow_flagging=
|
| 292 |
-
allow_screenshot=False
|
| 293 |
-
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
+
os.system("pip install gradio==2.4.6")
|
| 3 |
import gradio as gr
|
| 4 |
from pathlib import Path
|
| 5 |
os.system("pip install gsutil")
|
|
|
|
| 289 |
description=description,
|
| 290 |
article=article,
|
| 291 |
examples=examples,
|
| 292 |
+
allow_flagging=False,
|
| 293 |
+
allow_screenshot=False,
|
| 294 |
+
enable_queue=True
|
| 295 |
+
).launch()
|