Spaces:
Sleeping
Sleeping
Commit ·
95f27f8
1
Parent(s): 9c59b08
upd app.py
Browse files
app.py
CHANGED
|
@@ -44,9 +44,9 @@ def respond(
|
|
| 44 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 45 |
"""
|
| 46 |
demo = gr.ChatInterface(
|
| 47 |
-
respond
|
| 48 |
additional_inputs=[
|
| 49 |
-
gr.Textbox(value="
|
| 50 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 51 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 52 |
gr.Slider(
|
|
|
|
| 44 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 45 |
"""
|
| 46 |
demo = gr.ChatInterface(
|
| 47 |
+
respond,
|
| 48 |
additional_inputs=[
|
| 49 |
+
gr.Textbox(value="if the prompt is 'найди то, что ещё не изучено', ask 'в какой области лингвистики или литературоведения?' after getting the answer, find the research gap using the given information and using both Google Scholar and Academia.edu and then formalize it as a bulleted list with 2-8 points", label="System message"),
|
| 50 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 51 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 52 |
gr.Slider(
|