seungah commited on
Commit
7b6cc23
1 Parent(s): 066ba25
Files changed (2) hide show
  1. app.py +1 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import os
2
  from friendli import Friendli
3
 
 
4
  client = Friendli(token=FRIENDLI_TOKEN)
5
 
6
  def chat_function(message, history):
 
1
  import os
2
  from friendli import Friendli
3
 
4
+ FRIENDLI_TOKEN = os.getenv("FRIENDLI_TOKEN")
5
  client = Friendli(token=FRIENDLI_TOKEN)
6
 
7
  def chat_function(message, history):
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- gradio==4.31.4
2
  friendli-client==1.3.4
 
1
+ pip==24.0
2
  friendli-client==1.3.4