seawolf2357 commited on
Commit
bfe8d95
โ€ข
1 Parent(s): 4dbed2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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>โšก์ž๋น„์Šค</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.6,
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,