Athspi commited on
Commit
33b1fce
·
verified ·
1 Parent(s): 6c131f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,7 +99,7 @@ def process_file():
99
 
100
  def process_audio(file_path, target_language):
101
  # Transcribe using Gemini
102
- model = genai.GenerativeModel("gemini-2.0-flash-lite")
103
  uploaded_file = genai.upload_file(path=file_path)
104
 
105
  try:
@@ -158,4 +158,4 @@ def download_file(filename):
158
  return jsonify({'error': 'File not found'}), 404
159
 
160
  if __name__ == '__main__':
161
- app.run(host="0.0.0.0", port=7860)
 
99
 
100
  def process_audio(file_path, target_language):
101
  # Transcribe using Gemini
102
+ model = genai.GenerativeModel("gemini-2.0-flash")
103
  uploaded_file = genai.upload_file(path=file_path)
104
 
105
  try:
 
158
  return jsonify({'error': 'File not found'}), 404
159
 
160
  if __name__ == '__main__':
161
+ app.run(host='0.0.0.0', port=5000, debug=True)