goktug14 commited on
Commit
db04cc8
·
1 Parent(s): ea61a23

display format change

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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],