Kajise commited on
Commit
be78686
·
1 Parent(s): 1bdbed0

feat(options): uncomment additional args

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -78,8 +78,8 @@ def run_imaginor(text: str):
78
  if is_url:
79
  options = webdriver.ChromeOptions()
80
  options.add_argument('--headless')
81
- # options.add_argument('--no-sandbox')
82
- # options.add_argument('--disable-dev-shm-usage')
83
 
84
  try:
85
  driver = webdriver.Chrome(options=options)
@@ -107,4 +107,4 @@ Gradio.Interface(
107
  theme=custom_theme,
108
  analytics_enabled=False,
109
  css=".generating {visibility: hidden}"
110
- ).queue(concurrency_count=1).launch(debug=True)
 
78
  if is_url:
79
  options = webdriver.ChromeOptions()
80
  options.add_argument('--headless')
81
+ options.add_argument('--no-sandbox')
82
+ options.add_argument('--disable-dev-shm-usage')
83
 
84
  try:
85
  driver = webdriver.Chrome(options=options)
 
107
  theme=custom_theme,
108
  analytics_enabled=False,
109
  css=".generating {visibility: hidden}"
110
+ ).launch(debug=True)