Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
|
|
3 |
|
4 |
# Initialize clients for each API
|
5 |
client_main = Client("TejAndrewsACC/ACCZ3ta")
|
@@ -16,7 +17,7 @@ system_instructions = (
|
|
16 |
"the previous context of the conversation, and your four inner thoughts which you are supposed to consider "
|
17 |
"when generating your response to the user input, which will also be given to you. Ensure that you consider each inner thought you have."
|
18 |
)
|
19 |
-
|
20 |
def nyxion_consciousness(message, history, user_id):
|
21 |
global context
|
22 |
|
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
3 |
+
import spaces
|
4 |
|
5 |
# Initialize clients for each API
|
6 |
client_main = Client("TejAndrewsACC/ACCZ3ta")
|
|
|
17 |
"the previous context of the conversation, and your four inner thoughts which you are supposed to consider "
|
18 |
"when generating your response to the user input, which will also be given to you. Ensure that you consider each inner thought you have."
|
19 |
)
|
20 |
+
@spaces.GPU
|
21 |
def nyxion_consciousness(message, history, user_id):
|
22 |
global context
|
23 |
|