IS361Group4 commited on
Commit
cfaeafb
·
verified ·
1 Parent(s): e8a7d34

Update modules/translator.py

Browse files
Files changed (1) hide show
  1. modules/translator.py +1 -1
modules/translator.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  import gradio as gr
3
 
4
- from langchain_core.pydantic_v1 import BaseModel, Field
5
  from langchain.prompts import HumanMessagePromptTemplate, ChatPromptTemplate
6
  from langchain.output_parsers import PydanticOutputParser
7
  from langchain_openai import ChatOpenAI
 
1
  import os
2
  import gradio as gr
3
 
4
+ from pydantic.v1 import BaseModel, Field
5
  from langchain.prompts import HumanMessagePromptTemplate, ChatPromptTemplate
6
  from langchain.output_parsers import PydanticOutputParser
7
  from langchain_openai import ChatOpenAI