Aalaa commited on
Commit
a2ad5f6
1 Parent(s): ca5f434

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,5 +45,5 @@ reconstructed_model = keras.models.load_model("poems_generation_GRU (1).h5")
45
  def generate_poem(start,temperature):
46
  return generate_text(reconstructed_model,temperature, start_string=u""+start )
47
 
48
- iface = gr.Interface(fn=generate_poem, inputs=["text",gr.Slider(0, 1, value=1)], outputs="text", examples=[['حبيبتى ليلى']])
49
  iface.launch()
 
45
  def generate_poem(start,temperature):
46
  return generate_text(reconstructed_model,temperature, start_string=u""+start )
47
 
48
+ iface = gr.Interface(fn=generate_poem, inputs=["text",gr.Slider(0, 1, value=1)],outputs= ["text"], examples=[['حبيبتى ليلى']],)
49
  iface.launch()