matthewfarant commited on
Commit
3e15048
1 Parent(s): 604c8b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -40,7 +40,7 @@ google_search = GoogleSearchAPIWrapper()
40
 
41
  firecrawl_app = FirecrawlApp(api_key=os.getenv('FIRECRAWL_KEY'))
42
 
43
- @spaces.GPU
44
  # Query Transformation
45
  query_prompt = PromptTemplate(
46
  template="""
@@ -135,6 +135,7 @@ generate_prompt = PromptTemplate(
135
  generate_chain = generate_prompt | llama3_json | JsonOutputParser()
136
 
137
  # Full Flow Function
 
138
  def fact_check_flow(user_question):
139
  # Step 2: Transform question into search query keyword
140
  keyword = query_chain.invoke({"question": user_question})["query"]
 
40
 
41
  firecrawl_app = FirecrawlApp(api_key=os.getenv('FIRECRAWL_KEY'))
42
 
43
+
44
  # Query Transformation
45
  query_prompt = PromptTemplate(
46
  template="""
 
135
  generate_chain = generate_prompt | llama3_json | JsonOutputParser()
136
 
137
  # Full Flow Function
138
+ @spaces.GPU
139
  def fact_check_flow(user_question):
140
  # Step 2: Transform question into search query keyword
141
  keyword = query_chain.invoke({"question": user_question})["query"]