David Kagramanyan commited on
Commit
ce5ed0e
·
1 Parent(s): f7eab6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,3 +1,5 @@
1
  import gradio as gr
 
2
 
3
- gr.Interface.load("models/empathy-buddy/v3_empy_sentiment_en").launch()
 
 
1
  import gradio as gr
2
+ import os
3
 
4
+ api_key = os.getenv("api_key")
5
+ gr.Interface.load("models/empathy-buddy/v3_empy_sentiment_en", api_key=api_key).launch()