cryptocalypse commited on
Commit
95db923
·
verified ·
1 Parent(s): 5a05e23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -15
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
- 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():
 
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():