complynx commited on
Commit
b342136
Β·
1 Parent(s): d662447

Init client each time

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,9 +15,9 @@ import itertools
15
  from gradio_client import Client
16
 
17
 
18
- client = Client("Be-Bo/llama-3-chatbot_70b")
19
 
20
  def run_llama(_, msg, *__):
 
21
  yield client.predict(
22
  message=msg,
23
  api_name="/chat"
 
15
  from gradio_client import Client
16
 
17
 
 
18
 
19
  def run_llama(_, msg, *__):
20
+ client = Client("Be-Bo/llama-3-chatbot_70b")
21
  yield client.predict(
22
  message=msg,
23
  api_name="/chat"