VanYsa commited on
Commit
4990680
·
1 Parent(s): fe6e529

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -146,7 +146,7 @@ def bot_response(message: str,
146
  history: list,
147
  temperature: float,
148
  max_new_tokens: int
149
- )
150
  """
151
  Generate a streaming response using the llama3-8b model.
152
  Args:
@@ -186,7 +186,7 @@ def bot_response(message: str,
186
  outputs.append(text)
187
 
188
  return "".join(outputs)
189
-
190
 
191
  with gr.Blocks(
192
  title="MyAlexa",
 
146
  history: list,
147
  temperature: float,
148
  max_new_tokens: int
149
+ ) -> str: # type: ignore
150
  """
151
  Generate a streaming response using the llama3-8b model.
152
  Args:
 
186
  outputs.append(text)
187
 
188
  return "".join(outputs)
189
+
190
 
191
  with gr.Blocks(
192
  title="MyAlexa",