debug
Browse files- app.py +2 -4
- data/nginx.conf +1 -3
app.py
CHANGED
|
@@ -81,10 +81,8 @@ iface = gr.Interface(
|
|
| 81 |
inputs=[user_input, max_tokens, temperature, top_p],
|
| 82 |
outputs="text",
|
| 83 |
title="UCode Agent",
|
| 84 |
-
description="Provide Base64-encoded JSON input with a list of messages and set the max tokens, temperature, and top_p to generate a chat completion."
|
| 85 |
-
server_name="0.0.0.0",
|
| 86 |
-
server_port=7000
|
| 87 |
)
|
| 88 |
|
| 89 |
# Launch the Gradio interface
|
| 90 |
-
iface.launch()
|
|
|
|
| 81 |
inputs=[user_input, max_tokens, temperature, top_p],
|
| 82 |
outputs="text",
|
| 83 |
title="UCode Agent",
|
| 84 |
+
description="Provide Base64-encoded JSON input with a list of messages and set the max tokens, temperature, and top_p to generate a chat completion."
|
|
|
|
|
|
|
| 85 |
)
|
| 86 |
|
| 87 |
# Launch the Gradio interface
|
| 88 |
+
iface.launch(server_name="0.0.0.0",server_port=7000)
|
data/nginx.conf
CHANGED
|
@@ -18,9 +18,7 @@ server {
|
|
| 18 |
proxy_redirect off;
|
| 19 |
}
|
| 20 |
|
| 21 |
-
location /
|
| 22 |
-
# Serve backend from port
|
| 23 |
-
rewrite /home/user/.cache/n8n/(.*) /$1 break;
|
| 24 |
proxy_pass http://localhost:5678;
|
| 25 |
proxy_http_version 1.1;
|
| 26 |
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
| 18 |
proxy_redirect off;
|
| 19 |
}
|
| 20 |
|
| 21 |
+
location /build {
|
|
|
|
|
|
|
| 22 |
proxy_pass http://localhost:5678;
|
| 23 |
proxy_http_version 1.1;
|
| 24 |
proxy_set_header Upgrade $http_upgrade;
|