Blood076 commited on
Commit
d029d41
·
verified ·
1 Parent(s): 6a4218a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -63,7 +63,6 @@ with gr.Blocks() as demo:
63
  chat_output = gr.Textbox(
64
  min_width=1,
65
  value="",
66
- submit_btn=True,
67
  label="Story"
68
  )
69
  # Campo para configuração do contexto inicial
@@ -109,7 +108,7 @@ with gr.Blocks() as demo:
109
  chat_interface = gr.Interface(
110
  fn=respond,
111
  inputs=[chat_input, character, initial_context_message, max_tokens, temperature, top_p],
112
- outputs=chat_output,
113
  title="King B",
114
  description="Story",
115
  )
 
63
  chat_output = gr.Textbox(
64
  min_width=1,
65
  value="",
 
66
  label="Story"
67
  )
68
  # Campo para configuração do contexto inicial
 
108
  chat_interface = gr.Interface(
109
  fn=respond,
110
  inputs=[chat_input, character, initial_context_message, max_tokens, temperature, top_p],
111
+ outputs=initial_context_message,
112
  title="King B",
113
  description="Story",
114
  )