Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import random
|
3 |
#from huggingface_hub import InferenceClient
|
4 |
-
import spaces
|
5 |
import os
|
6 |
|
7 |
|
@@ -28,7 +28,7 @@ for model in models:
|
|
28 |
#for model in models:
|
29 |
#clients.append(InferenceClient(model))
|
30 |
|
31 |
-
|
32 |
def format_prompt(message, history):
|
33 |
prompt = ""
|
34 |
if history:
|
|
|
1 |
import gradio as gr
|
2 |
import random
|
3 |
#from huggingface_hub import InferenceClient
|
4 |
+
#import spaces
|
5 |
import os
|
6 |
|
7 |
|
|
|
28 |
#for model in models:
|
29 |
#clients.append(InferenceClient(model))
|
30 |
|
31 |
+
#@spaces.GPU
|
32 |
def format_prompt(message, history):
|
33 |
prompt = ""
|
34 |
if history:
|