Update app.py
Browse files
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=
|
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="
|
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],
|