Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
import os
|
| 3 |
import gradio as gr
|
| 4 |
import streamlit as st
|
| 5 |
-
from transformers import
|
| 6 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
| 7 |
from llama_index.core import ServiceContext
|
| 8 |
from llama_index.core import PromptTemplate
|
|
|
|
| 2 |
import os
|
| 3 |
import gradio as gr
|
| 4 |
import streamlit as st
|
| 5 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 6 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
| 7 |
from llama_index.core import ServiceContext
|
| 8 |
from llama_index.core import PromptTemplate
|