Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -247,7 +247,7 @@ def create_rag_chain(chat_history: str):
|
|
| 247 |
chat_history = ChatHistory()
|
| 248 |
|
| 249 |
# Gradio Function
|
| 250 |
-
|
| 251 |
def ask_question_gradio(question, history):
|
| 252 |
try:
|
| 253 |
# Add user question to chat history
|
|
|
|
| 247 |
chat_history = ChatHistory()
|
| 248 |
|
| 249 |
# Gradio Function
|
| 250 |
+
@spaces.GPU()
|
| 251 |
def ask_question_gradio(question, history):
|
| 252 |
try:
|
| 253 |
# Add user question to chat history
|