Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
import asyncio
|
|
|
|
| 4 |
from typing import Any
|
| 5 |
|
| 6 |
from huggingface_hub import InferenceClient
|
|
@@ -13,7 +14,6 @@ from llama_index.core.base.llms.types import (
|
|
| 13 |
CompletionResponse,
|
| 14 |
)
|
| 15 |
from llama_index.core.tools import FunctionTool
|
| 16 |
-
from llama_index.core.agent import ReActAgent
|
| 17 |
|
| 18 |
|
| 19 |
def add(a: int, b: int) -> int:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
import asyncio
|
| 4 |
+
from llama_index.core.agent import ReActAgent
|
| 5 |
from typing import Any
|
| 6 |
|
| 7 |
from huggingface_hub import InferenceClient
|
|
|
|
| 14 |
CompletionResponse,
|
| 15 |
)
|
| 16 |
from llama_index.core.tools import FunctionTool
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
def add(a: int, b: int) -> int:
|