Skip to content

Commit b11af25

Browse files
committed
those changes did not work
1 parent cb31dfb commit b11af25

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

llama_cpp/server/app.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import json
55
import boto3
6-
import gradio as gr
6+
#import gradio as gr
77

88
from threading import Lock
99
from functools import partial
@@ -183,10 +183,10 @@ def create_app(
183183
assert model_settings is not None
184184
set_llama_proxy(model_settings=model_settings)
185185
#We're going to see if we can get the gradio url settings working
186-
CUSTOM_PATH = "/gradio"
186+
#CUSTOM_PATH = "/gradio"
187187

188-
io = gr.Interface(lambda x: "Hello, " + x + "!", "textbox", "textbox",share=True,debug=True)
189-
app = gr.mount_gradio_app(app, io, path=CUSTOM_PATH)
188+
#io = gr.Interface(lambda x: "Hello, " + x + "!", "textbox", "textbox",share=True,debug=True)
189+
#app = gr.mount_gradio_app(app, io, path=CUSTOM_PATH)
190190
return app
191191

192192

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ server = [
3535
"pydantic-settings>=2.0.1",
3636
"sse-starlette>=1.6.1",
3737
"starlette-context>=0.3.6,<0.4",
38-
"gradio",
3938
]
4039
test = [
4140
"pytest>=7.4.0",

0 commit comments

Comments
 (0)