Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ llama_client = InferenceClient("meta-llama/Llama-3.1-70B-Instruct")
|
|
| 11 |
gpt_client = InferenceClient("openai/gpt-4")
|
| 12 |
|
| 13 |
# Define the response function
|
|
|
|
| 14 |
def respond(
|
| 15 |
message,
|
| 16 |
history: list[dict],
|
|
|
|
| 11 |
gpt_client = InferenceClient("openai/gpt-4")
|
| 12 |
|
| 13 |
# Define the response function
|
| 14 |
+
@spaces.GPU
|
| 15 |
def respond(
|
| 16 |
message,
|
| 17 |
history: list[dict],
|