Chris4K commited on
Commit
18d3138
·
1 Parent(s): b58a663

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ async def text_translation_api(text: str, target_language: str):
70
 
71
  ### ENd of Fast API endpoints
72
 
73
- api = HuggingFaceAPI( {api_hf_key} )
74
 
75
  # Define the function to be called when inputs are provided
76
  def hf_inference_translate(prompt="Wie kann ich Ihnen helfen?", target_language="en"):
 
70
 
71
  ### ENd of Fast API endpoints
72
 
73
+ api = HuggingFaceAPI( {hf_api_key} )
74
 
75
  # Define the function to be called when inputs are provided
76
  def hf_inference_translate(prompt="Wie kann ich Ihnen helfen?", target_language="en"):