Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import gradio as gr
|
3 |
|
4 |
-
desc = "Ask Your question to get ideas about business sales and marketing. e.g. how to sell online products? etc."
|
5 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
6 |
|
7 |
def format_prompt(message, history):
|
@@ -48,8 +48,8 @@ demo = gr.ChatInterface(fn=generate,
|
|
48 |
title="Sales & Marketing Consultant",
|
49 |
retry_btn=None,
|
50 |
undo_btn=None,
|
51 |
-
description=desc,
|
52 |
-
examples=["
|
53 |
)
|
54 |
|
55 |
demo.queue().launch(show_api=False)
|
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import gradio as gr
|
3 |
|
4 |
+
#desc = "Ask Your question to get ideas about business sales and marketing. e.g. how to sell online products? etc."
|
5 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
6 |
|
7 |
def format_prompt(message, history):
|
|
|
48 |
title="Sales & Marketing Consultant",
|
49 |
retry_btn=None,
|
50 |
undo_btn=None,
|
51 |
+
#description=desc,
|
52 |
+
examples=["How to sell online courses?", "Tell about more business ideas in IoT", "tell me methods to promote my product"]
|
53 |
)
|
54 |
|
55 |
demo.queue().launch(show_api=False)
|