complynx commited on
Commit
b2ad5ed
Β·
1 Parent(s): d3fc948
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ from gradio_client import Client
17
  client = Client("Be-Bo/llama-3-chatbot_70b")
18
 
19
  def run_llama(_, msg, *__):
20
- return client.predict(
21
  message=msg,
22
  api_name="/chat"
23
  )
 
17
  client = Client("Be-Bo/llama-3-chatbot_70b")
18
 
19
  def run_llama(_, msg, *__):
20
+ yield client.predict(
21
  message=msg,
22
  api_name="/chat"
23
  )