Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,9 @@
|
|
1 |
-
import os
|
2 |
-
import subprocess
|
3 |
-
import time
|
4 |
-
from typing import List, Dict
|
5 |
-
|
6 |
-
from huggingface_hub import InferenceClient
|
7 |
-
import streamlit as st
|
8 |
from langchain_core.prompts import PromptTemplate
|
9 |
from langchain_core.runnables import RunnableSequence
|
10 |
from langchain_community.llms import HuggingFaceEndpoint
|
|
|
|
|
|
|
11 |
|
12 |
from prompts import (
|
13 |
ACTION_PROMPT,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from langchain_core.prompts import PromptTemplate
|
2 |
from langchain_core.runnables import RunnableSequence
|
3 |
from langchain_community.llms import HuggingFaceEndpoint
|
4 |
+
from huggingface_hub.inference_api import InferenceApi as InferenceClient
|
5 |
+
|
6 |
+
import streamlit as st
|
7 |
|
8 |
from prompts import (
|
9 |
ACTION_PROMPT,
|