Spaces:
Runtime error
Runtime error
Commit
โข
bfe8d95
1
Parent(s):
4dbed2c
Update app.py
Browse files
app.py
CHANGED
@@ -6,14 +6,14 @@ from pydub import AudioSegment
|
|
6 |
import gradio as gr
|
7 |
from huggingface_hub import InferenceClient
|
8 |
|
9 |
-
DESCRIPTION = """# <center><b
|
10 |
|
11 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
12 |
system_instructions = "[INST] ๋ต๋ณ ๋๋ฆด๊ป์, '๋ฐ๋์ ํ๊ตญ์ด(ํ๊ธ)๋ก ๋ต๋ณํ๋ผ', Keep conversation very short, clear, friendly and concise."
|
13 |
|
14 |
async def generate(prompt):
|
15 |
generate_kwargs = {
|
16 |
-
"temperature": 0.
|
17 |
"max_new_tokens": 256,
|
18 |
"top_p": 0.95,
|
19 |
"repetition_penalty": 1,
|
|
|
6 |
import gradio as gr
|
7 |
from huggingface_hub import InferenceClient
|
8 |
|
9 |
+
DESCRIPTION = """# <center><b> ์ง๋์ค </b></center>"""
|
10 |
|
11 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
12 |
system_instructions = "[INST] ๋ต๋ณ ๋๋ฆด๊ป์, '๋ฐ๋์ ํ๊ตญ์ด(ํ๊ธ)๋ก ๋ต๋ณํ๋ผ', Keep conversation very short, clear, friendly and concise."
|
13 |
|
14 |
async def generate(prompt):
|
15 |
generate_kwargs = {
|
16 |
+
"temperature": 0.3,
|
17 |
"max_new_tokens": 256,
|
18 |
"top_p": 0.95,
|
19 |
"repetition_penalty": 1,
|