Spaces:
Runtime error
Runtime error
cryptocalypse
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -48,21 +48,21 @@ with gr.Blocks(title="Sophia, Torah Codes",css=css,js=js) as app:
|
|
48 |
#with gr.Blocks(theme='gradio/soft') as demo:
|
49 |
#with gr.Blocks(title="Sophia, Torah Codes") as app:
|
50 |
#with gr.Row():
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
)
|
66 |
with gr.Row():
|
67 |
search_els = gr.Button("Search",scale=1)
|
68 |
with gr.Row():
|
|
|
48 |
#with gr.Blocks(theme='gradio/soft') as demo:
|
49 |
#with gr.Blocks(title="Sophia, Torah Codes") as app:
|
50 |
#with gr.Row():
|
51 |
+
gr.ChatInterface(
|
52 |
+
respond,
|
53 |
+
additional_inputs=[
|
54 |
+
#gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
55 |
+
#gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
56 |
+
#gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
57 |
+
#gr.Slider(
|
58 |
+
# minimum=0.1,
|
59 |
+
# maximum=1.0,
|
60 |
+
# value=0.95,
|
61 |
+
# step=0.05,
|
62 |
+
# label="Top-p (nucleus sampling)",
|
63 |
+
#),
|
64 |
+
],
|
65 |
+
)
|
66 |
with gr.Row():
|
67 |
search_els = gr.Button("Search",scale=1)
|
68 |
with gr.Row():
|