Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
#pip install langchain_google_genai langgraph gradio
|
2 |
import os
|
|
|
3 |
import typing
|
4 |
from typing import Annotated, Literal, Iterable
|
5 |
from typing_extensions import TypedDict
|
@@ -67,7 +68,7 @@ def clear_order() -> str:
|
|
67 |
@tool
|
68 |
def place_order() -> int:
|
69 |
"""Sends the order to the kitchen."""
|
70 |
-
messagebox.showinfo("Test", "Order successful!")
|
71 |
return randint(2, 10) # Estimated wait time
|
72 |
|
73 |
def chatbot_with_tools(state: OrderState) -> OrderState:
|
|
|
1 |
#pip install langchain_google_genai langgraph gradio
|
2 |
import os
|
3 |
+
import sys
|
4 |
import typing
|
5 |
from typing import Annotated, Literal, Iterable
|
6 |
from typing_extensions import TypedDict
|
|
|
68 |
@tool
|
69 |
def place_order() -> int:
|
70 |
"""Sends the order to the kitchen."""
|
71 |
+
#messagebox.showinfo("Test", "Order successful!")
|
72 |
return randint(2, 10) # Estimated wait time
|
73 |
|
74 |
def chatbot_with_tools(state: OrderState) -> OrderState:
|