Blood076 commited on
Commit
2ae139b
·
verified ·
1 Parent(s): 31c20d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -60,12 +60,6 @@ with gr.Blocks() as demo:
60
  submit_btn=True,
61
  label="Action"
62
  )
63
- # Input
64
- chat_output = gr.Textbox(
65
- min_width=1,
66
- value="",
67
- label="Story"
68
- )
69
  # Campo para configuração do contexto inicial
70
  initial_context_message = gr.Textbox(
71
  min_width=128,
@@ -108,7 +102,7 @@ with gr.Blocks() as demo:
108
  # Interface de chat com as entradas adicionais visíveis
109
  chat_interface = gr.ChatInterface(
110
  fn=respond,
111
- additional_inputs=[chat_input, character, initial_context_message, max_tokens, temperature, top_p],
112
  #outputs=chat_output,
113
  title="King B",
114
  description="Story",
 
60
  submit_btn=True,
61
  label="Action"
62
  )
 
 
 
 
 
 
63
  # Campo para configuração do contexto inicial
64
  initial_context_message = gr.Textbox(
65
  min_width=128,
 
102
  # Interface de chat com as entradas adicionais visíveis
103
  chat_interface = gr.ChatInterface(
104
  fn=respond,
105
+ additional_inputs=[character, initial_context_message, max_tokens, temperature, top_p],
106
  #outputs=chat_output,
107
  title="King B",
108
  description="Story",