Monke64 commited on
Commit
f866549
·
1 Parent(s): 74202db

Removed Langchain dependency

Browse files
Files changed (1) hide show
  1. pages/1_Prompt Engineering.py +2 -2
pages/1_Prompt Engineering.py CHANGED
@@ -2,8 +2,8 @@ import streamlit as st
2
  from openai import OpenAI
3
  import torch
4
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
5
- from langchain.llms import HuggingFacePipeline
6
- from langchain import PromptTemplate, LLMChain
7
  # @st.cache_resource
8
  # def init_Phi2():
9
  # torch.random.manual_seed(0)
 
2
  from openai import OpenAI
3
  import torch
4
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
5
+ #from langchain.llms import HuggingFacePipeline
6
+ #from langchain import PromptTemplate, LLMChain
7
  # @st.cache_resource
8
  # def init_Phi2():
9
  # torch.random.manual_seed(0)