akhooli commited on
Commit
2e62955
1 Parent(s): 6db59ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def sayPoetry(prompt, temp):
11
  for line in gen.split('.')[:-1]:
12
  poetry += line + "\n"
13
  return poetry
14
- tempreature = gr.Slider(0.70, 1.0, value=0.94, step=0.01)],
15
  input_prompt = gr.inputs.Textbox(label="Enter your prompt or select from examples:", placeholder="أنا الذي", lines=1)
16
  output_text = gr.outputs.Textbox(label="Generated Poetry:", lines=4)
17
  poetry = gr.Interface(fn=sayPoetry, inputs=[input_prompt, temperature], outputs=output_text, allow_flagging='never',
 
11
  for line in gen.split('.')[:-1]:
12
  poetry += line + "\n"
13
  return poetry
14
+ tempreature = gr.Slider(0.70, 1.0, value=0.94, step=0.01),
15
  input_prompt = gr.inputs.Textbox(label="Enter your prompt or select from examples:", placeholder="أنا الذي", lines=1)
16
  output_text = gr.outputs.Textbox(label="Generated Poetry:", lines=4)
17
  poetry = gr.Interface(fn=sayPoetry, inputs=[input_prompt, temperature], outputs=output_text, allow_flagging='never',