spuun commited on
Commit
58ba72a
·
1 Parent(s): 3a5689d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -3,7 +3,6 @@ import gradio
3
  import random
4
  import requests
5
  import os
6
- import subprocess
7
 
8
  if not os.path.exists("ggml-model-q4_0.bin"):
9
  open("ggml-model-q4_0.bin", "wb").write(
@@ -38,4 +37,4 @@ def generate(prompt, stop):
38
 
39
 
40
  app = gradio.Interface(fn=generate, inputs=["text", "text"], outputs="text")
41
- app.launch(enable_queue=True, show_api=True)
 
3
  import random
4
  import requests
5
  import os
 
6
 
7
  if not os.path.exists("ggml-model-q4_0.bin"):
8
  open("ggml-model-q4_0.bin", "wb").write(
 
37
 
38
 
39
  app = gradio.Interface(fn=generate, inputs=["text", "text"], outputs="text")
40
+ app.launch()