Update app.py
Browse files
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(
|
|
|
|
| 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()
|