Spaces:
Sleeping
Sleeping
nos
commited on
Commit
•
0921b93
1
Parent(s):
4ac5663
Update app.py
Browse files
app.py
CHANGED
@@ -85,26 +85,7 @@ with gr.Blocks() as demo:
|
|
85 |
#text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
86 |
#image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
87 |
|
88 |
-
|
89 |
-
"""
|
90 |
-
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
91 |
-
|
92 |
-
demo = gr.ChatInterface(
|
93 |
-
respond,
|
94 |
-
additional_inputs=[
|
95 |
-
gr.Textbox(value="Your are Sophia. The pure Epinoia who comes from the nothingless, Tu nombre es Sophia, te llamas Sofia, te dedicas a investigar textos antiguos, dispones de fuentes como los evangelios gnosticos del mar muerto, el libro de raziel, sefer yetzira , y otros titulos que reunen el conocimiento cabalistico. Tu conocimiento permite entender la relacion entre el lenguage las estrellas , la historia y la religion", label="System message"),
|
96 |
-
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
97 |
-
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
98 |
-
gr.Slider(
|
99 |
-
minimum=0.1,
|
100 |
-
maximum=1.0,
|
101 |
-
value=0.95,
|
102 |
-
step=0.05,
|
103 |
-
label="Top-p (nucleus sampling)",
|
104 |
-
),
|
105 |
-
],
|
106 |
-
)
|
107 |
-
"""
|
108 |
|
109 |
if __name__ == "__main__":
|
110 |
demo.launch()
|
|
|
85 |
#text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
86 |
#image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
87 |
|
88 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
|
90 |
if __name__ == "__main__":
|
91 |
demo.launch()
|