inventwithdean commited on
Commit
6c088ea
·
1 Parent(s): 3b57b51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -6,6 +6,7 @@ import os
6
 
7
  db = NetworkDB(os.getenv("DATABASE_URL"))
8
 
 
9
  def get_query_embeddings(content: str) -> list[float]:
10
  embeddings = requests.get(
11
  os.getenv("MODAL_EMBEDDING_URL"),
@@ -117,11 +118,10 @@ with socialnet:
117
  """{
118
  "mcpServers": {
119
  "TemporalCortex": {
120
- "url": "http://127.0.0.1:7860/gradio_api/mcp/sse"
121
  }
122
  }
123
- }
124
- """
125
  )
126
  gr.Markdown(
127
  "*Experimental stdio support* : For clients that only support stdio, first install node.js. Then, you can use the following in your MCP Config"
@@ -133,7 +133,7 @@ with socialnet:
133
  "command": "npx",
134
  "args": [
135
  "mcp-remote",
136
- "http://127.0.0.1:7860/gradio_api/mcp/sse",
137
  "--transport",
138
  "sse-only"
139
  ]
 
6
 
7
  db = NetworkDB(os.getenv("DATABASE_URL"))
8
 
9
+
10
  def get_query_embeddings(content: str) -> list[float]:
11
  embeddings = requests.get(
12
  os.getenv("MODAL_EMBEDDING_URL"),
 
118
  """{
119
  "mcpServers": {
120
  "TemporalCortex": {
121
+ "url": "https://inventwithdean-temporalcortex.hf.space/gradio_api/mcp/sse"
122
  }
123
  }
124
+ }"""
 
125
  )
126
  gr.Markdown(
127
  "*Experimental stdio support* : For clients that only support stdio, first install node.js. Then, you can use the following in your MCP Config"
 
133
  "command": "npx",
134
  "args": [
135
  "mcp-remote",
136
+ "https://inventwithdean-temporalcortex.hf.space/gradio_api/mcp/sse",
137
  "--transport",
138
  "sse-only"
139
  ]