Daemontatox commited on
Commit
7536853
·
verified ·
1 Parent(s): b3975d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import spaces
2
  import subprocess
3
  import os
4
  import torch
@@ -167,7 +167,7 @@ def process_stream(stream_queue: Queue, history: List[List[str]]) -> Generator[L
167
  new_history[-1][1] = current_response # Update the assistant's message
168
  yield new_history
169
 
170
- @spaces.GPU()
171
  def ask_question_gradio(question: str, history: List[List[str]]) -> Generator[tuple, None, None]:
172
  try:
173
  if history is None:
 
1
+
2
  import subprocess
3
  import os
4
  import torch
 
167
  new_history[-1][1] = current_response # Update the assistant's message
168
  yield new_history
169
 
170
+
171
  def ask_question_gradio(question: str, history: List[List[str]]) -> Generator[tuple, None, None]:
172
  try:
173
  if history is None: