vpcom commited on
Commit
8248262
1 Parent(s): 3c19d9d

fix: no prompt and just generate the text

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -163,7 +163,7 @@ def generate(
163
  return output
164
 
165
  additional_inputs=[
166
- gr.Textbox("شعر:", label="Optional system prompt"), #<|endoftext|>
167
  gr.Slider(
168
  label="Temperature",
169
  value=0.95,
@@ -226,7 +226,7 @@ chat_interface = gr.ChatInterface(
226
  generate,
227
  chatbot=chatbot,
228
  textbox=textbox,
229
- examples=examples,
230
  additional_inputs=additional_inputs,
231
  cache_examples=False,
232
  )
 
163
  return output
164
 
165
  additional_inputs=[
166
+ gr.Textbox("شعر:@", label="Optional system prompt"), #<|endoftext|>
167
  gr.Slider(
168
  label="Temperature",
169
  value=0.95,
 
226
  generate,
227
  chatbot=chatbot,
228
  textbox=textbox,
229
+ #examples=examples,
230
  additional_inputs=additional_inputs,
231
  cache_examples=False,
232
  )