Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
-
client = InferenceClient(model="https://
|
5 |
|
6 |
def inference(message, history):
|
7 |
partial_message = ""
|
@@ -13,7 +13,7 @@ gr.ChatInterface(
|
|
13 |
inference,
|
14 |
chatbot=gr.Chatbot(height=300),
|
15 |
textbox=gr.Textbox(placeholder="Please ask your question here...", container=False, scale=7),
|
16 |
-
description="This is a chatbot trained on the Llama2-
|
17 |
title="SequoiaDB AI",
|
18 |
examples=["What is SequioaDB?", "What is SequioaDB's license?", "What is SequioaDB's official website?"],
|
19 |
retry_btn="Retry",
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
+
client = InferenceClient(model="https://p06bw0bote3egf-80.proxy.runpod.net/")
|
5 |
|
6 |
def inference(message, history):
|
7 |
partial_message = ""
|
|
|
13 |
inference,
|
14 |
chatbot=gr.Chatbot(height=300),
|
15 |
textbox=gr.Textbox(placeholder="Please ask your question here...", container=False, scale=7),
|
16 |
+
description="This is a chatbot trained on the Llama2-13b model.",
|
17 |
title="SequoiaDB AI",
|
18 |
examples=["What is SequioaDB?", "What is SequioaDB's license?", "What is SequioaDB's official website?"],
|
19 |
retry_btn="Retry",
|