Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
-
|
4 |
|
5 |
"""
|
6 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
@@ -8,7 +8,7 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
8 |
client = InferenceClient("meta-llama/Llama-3.1-8B-Instruct")
|
9 |
|
10 |
|
11 |
-
def respond(
|
12 |
message,
|
13 |
history: list[tuple[str, str]],
|
14 |
system_message,
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
+
|
4 |
|
5 |
"""
|
6 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
|
|
8 |
client = InferenceClient("meta-llama/Llama-3.1-8B-Instruct")
|
9 |
|
10 |
|
11 |
+
def respond(
|
12 |
message,
|
13 |
history: list[tuple[str, str]],
|
14 |
system_message,
|