Sabbah13 commited on
Commit
096ee7c
·
verified ·
1 Parent(s): 6b1e5c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,6 @@ import torch
5
  from utils import convert_segments_object_to_text, check_password, convert_segments_object_to_text_simple, get_gpu_memory_info
6
  from gigiachat_requests import get_access_token, get_completion_from_gigachat, get_number_of_tokens, process_transcribation_with_gigachat
7
  from openai_requests import get_completion_from_openai, process_transcribation_with_assistant
8
- from qwen import respond
9
 
10
  if check_password():
11
  st.title('Audio Transcription App')
@@ -113,6 +112,8 @@ if check_password():
113
  elif (llm == 'Qwen'):
114
  get_gpu_memory_info()
115
  torch.cuda.empty_cache()
 
 
116
  get_gpu_memory_info()
117
  summary_answer = respond(base_prompt + transcript)
118
 
 
5
  from utils import convert_segments_object_to_text, check_password, convert_segments_object_to_text_simple, get_gpu_memory_info
6
  from gigiachat_requests import get_access_token, get_completion_from_gigachat, get_number_of_tokens, process_transcribation_with_gigachat
7
  from openai_requests import get_completion_from_openai, process_transcribation_with_assistant
 
8
 
9
  if check_password():
10
  st.title('Audio Transcription App')
 
112
  elif (llm == 'Qwen'):
113
  get_gpu_memory_info()
114
  torch.cuda.empty_cache()
115
+
116
+ from qwen import respond
117
  get_gpu_memory_info()
118
  summary_answer = respond(base_prompt + transcript)
119