Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import gradio as gr
|
|
|
3 |
|
4 |
client = InferenceClient(
|
5 |
"HuggingFaceH4/zephyr-7b-alpha"
|
6 |
)
|
7 |
-
|
8 |
|
9 |
def format_prompt(message, history):
|
10 |
system = "<|system|>\nYou are a helpful virtual assistant that answer user's question with easy to understand words.</s>\n"
|
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import gradio as gr
|
3 |
+
import bot
|
4 |
|
5 |
client = InferenceClient(
|
6 |
"HuggingFaceH4/zephyr-7b-alpha"
|
7 |
)
|
8 |
+
bot.start()
|
9 |
|
10 |
def format_prompt(message, history):
|
11 |
system = "<|system|>\nYou are a helpful virtual assistant that answer user's question with easy to understand words.</s>\n"
|