Spaces:
Runtime error
Runtime error
display format change
Browse files
app.py
CHANGED
|
@@ -104,7 +104,8 @@ def parse_output(output: list) -> dict:
|
|
| 104 |
|
| 105 |
return content
|
| 106 |
|
| 107 |
-
|
|
|
|
| 108 |
def chat(
|
| 109 |
user_input: dict,
|
| 110 |
history: list[dict],
|
|
|
|
| 104 |
|
| 105 |
return content
|
| 106 |
|
| 107 |
+
# Define the inference Function with state management
|
| 108 |
+
@spaces.GPU(duration=120, timeout=300)
|
| 109 |
def chat(
|
| 110 |
user_input: dict,
|
| 111 |
history: list[dict],
|