Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,21 +86,21 @@ def generate_text_Dante(message, history):
|
|
86 |
|
87 |
|
88 |
with gr.Blocks() as demo:
|
89 |
-
with gr.Tab('saiga'):
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
)
|
104 |
with gr.Tab('Dante'):
|
105 |
gr.ChatInterface(
|
106 |
generate_text_Dante,
|
|
|
86 |
|
87 |
|
88 |
with gr.Blocks() as demo:
|
89 |
+
# with gr.Tab('saiga'):
|
90 |
+
# gr.ChatInterface(
|
91 |
+
# generate_text,
|
92 |
+
# title="saiga-7b running on CPU (quantized Q4_K)",
|
93 |
+
# description="This is a quantized version of saiga-7b running on CPU (very slow). It is less powerful than the original version, but it can even run on the free tier of huggingface.",
|
94 |
+
# examples=[
|
95 |
+
# "Dammi 3 idee di ricette che posso fare con i pistacchi",
|
96 |
+
# "Prepara un piano di esercizi da poter fare a casa",
|
97 |
+
# "Scrivi una poesia sulla nuova AI chiamata cerbero-7b"
|
98 |
+
# ],
|
99 |
+
# cache_examples=False,
|
100 |
+
# retry_btn=None,
|
101 |
+
# undo_btn="Delete Previous",
|
102 |
+
# clear_btn="Clear",
|
103 |
+
# )
|
104 |
with gr.Tab('Dante'):
|
105 |
gr.ChatInterface(
|
106 |
generate_text_Dante,
|