jayant012 commited on
Commit
331d433
1 Parent(s): 4de746d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -13,6 +13,7 @@ from langchain_openai import ChatOpenAI
13
 
14
  chat = ChatOpenAI()
15
 
 
16
  class TextTranslator(BaseModel):
17
  output: str = Field(description="Python string containing the output text translated in the desired language")
18
 
 
13
 
14
  chat = ChatOpenAI()
15
 
16
+ # Define the Pydantic Model
17
  class TextTranslator(BaseModel):
18
  output: str = Field(description="Python string containing the output text translated in the desired language")
19