Solshine commited on
Commit
f2b3842
1 Parent(s): a2c9e9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,6 +3,7 @@ import toml
3
  from omegaconf import OmegaConf
4
  from query import VectaraQuery
5
  import os
 
6
 
7
  import streamlit as st
8
  from PIL import Image
@@ -90,8 +91,7 @@ def launch_bot():
90
  if response == 'The returned results did not contain sufficient information to be summarized into a useful answer for your query. Please try a different search or restate your query differently.':
91
  st.write("reroute to LLM")
92
  else:
93
- from transformers import AutoModelForCausalLM, AutoTokenizer
94
-
95
  device = "cuda" # the device to load the model onto
96
 
97
 
 
3
  from omegaconf import OmegaConf
4
  from query import VectaraQuery
5
  import os
6
+ from transformers import AutoModelForCausalLM, AutoTokenizer
7
 
8
  import streamlit as st
9
  from PIL import Image
 
91
  if response == 'The returned results did not contain sufficient information to be summarized into a useful answer for your query. Please try a different search or restate your query differently.':
92
  st.write("reroute to LLM")
93
  else:
94
+ #call in Mistral
 
95
  device = "cuda" # the device to load the model onto
96
 
97