nprasad24 commited on
Commit
3f72696
·
verified ·
1 Parent(s): 7fda5c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -15,15 +15,10 @@ from langchain.text_splitter import CharacterTextSplitter
15
  from langchain_core.output_parsers import StrOutputParser
16
  from langchain_core.runnables import RunnablePassthrough
17
  from langchain_fireworks import ChatFireworks
18
- from langchain_community.llms import Ollama
19
  from langchain_core.prompts import ChatPromptTemplate
20
- from rich.console import Console
21
- from rich.markdown import Markdown
22
  from transformers import AutoModelForImageClassification, AutoImageProcessor
23
  from langchain import HuggingFacePipeline
24
 
25
- transformers.logging.set_verbosity_error()
26
-
27
 
28
 
29
  def image_to_query(image):
 
15
  from langchain_core.output_parsers import StrOutputParser
16
  from langchain_core.runnables import RunnablePassthrough
17
  from langchain_fireworks import ChatFireworks
 
18
  from langchain_core.prompts import ChatPromptTemplate
 
 
19
  from transformers import AutoModelForImageClassification, AutoImageProcessor
20
  from langchain import HuggingFacePipeline
21
 
 
 
22
 
23
 
24
  def image_to_query(image):