Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import re
|
|
4 |
import os
|
5 |
hf_token = os.environ.get('HF_TOKEN')
|
6 |
from gradio_client import Client
|
7 |
-
client = Client("https://fffiloni-test-llama-api.hf.space/", hf_token=hf_token)
|
8 |
|
9 |
clipi_client = Client("https://fffiloni-clip-interrogator-2.hf.space/")
|
10 |
|
@@ -41,6 +41,7 @@ def infer(image_input, audience):
|
|
41 |
gr.Info('Calling Llama2 ...')
|
42 |
result = client.predict(
|
43 |
llama_q, # str in 'Message' Textbox component
|
|
|
44 |
api_name="/predict"
|
45 |
)
|
46 |
|
|
|
4 |
import os
|
5 |
hf_token = os.environ.get('HF_TOKEN')
|
6 |
from gradio_client import Client
|
7 |
+
client = Client("https://fffiloni-test-llama-api-debug.hf.space/", hf_token=hf_token)
|
8 |
|
9 |
clipi_client = Client("https://fffiloni-clip-interrogator-2.hf.space/")
|
10 |
|
|
|
41 |
gr.Info('Calling Llama2 ...')
|
42 |
result = client.predict(
|
43 |
llama_q, # str in 'Message' Textbox component
|
44 |
+
"I2S",
|
45 |
api_name="/predict"
|
46 |
)
|
47 |
|