annepirn commited on
Commit
1cf44ab
·
verified ·
1 Parent(s): 12203dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import streamlit as st
2
  import requests
 
 
 
 
3
 
4
  # Translation function
5
  def translate_to_estonian(text, api_key):
 
1
  import streamlit as st
2
  import requests
3
+ import os
4
+
5
+ spoonacular_api_key = os.getenv('SP_KEY') # Spoonacular API key
6
+ hf_api_key = os.getenv('HF_KEY') # Hugging Face API key
7
 
8
  # Translation function
9
  def translate_to_estonian(text, api_key):