openfree commited on
Commit
22d9a40
·
verified ·
1 Parent(s): d883298

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,7 +70,7 @@ def transcribe_summarize(audio_input, task):
70
 
71
  response = hf_client.text_generation(
72
  prompt=prompt,
73
- max_new_tokens=150,
74
  temperature=0.3,
75
  top_p=0.9,
76
  repetition_penalty=1.2
@@ -200,7 +200,7 @@ mic_transcribe = gr.Interface(
200
  )
201
 
202
  # 메인 애플리케이션
203
- demo = gr.Blocks(theme="gradio/soft", css=css)
204
  with demo:
205
  gr.TabbedInterface(
206
  [file_transcribe, mic_transcribe],
 
70
 
71
  response = hf_client.text_generation(
72
  prompt=prompt,
73
+ max_new_tokens=500,
74
  temperature=0.3,
75
  top_p=0.9,
76
  repetition_penalty=1.2
 
200
  )
201
 
202
  # 메인 애플리케이션
203
+ demo = gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css)
204
  with demo:
205
  gr.TabbedInterface(
206
  [file_transcribe, mic_transcribe],