Spaces:
Runtime error
Runtime error
resolved saved module
Browse files
CodingAssistant/__init___.py
CHANGED
@@ -2,4 +2,4 @@ from fastapi import FastAPI
|
|
2 |
|
3 |
app = FastAPI(title="Deploying my own CodingAssistant with FastAPI on Huggingface")
|
4 |
|
5 |
-
from
|
|
|
2 |
|
3 |
app = FastAPI(title="Deploying my own CodingAssistant with FastAPI on Huggingface")
|
4 |
|
5 |
+
from CodingAssistant import router
|
CodingAssistant/router.py
CHANGED
@@ -7,7 +7,7 @@ from langchain.llms import Clarifai
|
|
7 |
from langchain.chains import LLMChain
|
8 |
from langchain.prompts import PromptTemplate
|
9 |
|
10 |
-
from
|
11 |
|
12 |
class Generate(BaseModel):
|
13 |
text:str
|
|
|
7 |
from langchain.chains import LLMChain
|
8 |
from langchain.prompts import PromptTemplate
|
9 |
|
10 |
+
from CodingAssistant import app
|
11 |
|
12 |
class Generate(BaseModel):
|
13 |
text:str
|