Alesteba commited on
Commit
b30773e
1 Parent(s): e708535

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from huggingface_hub import from_pretrained_keras
10
  model = from_pretrained_keras("Alesteba/deep_model_07")
11
 
12
  def predict(prompt):
13
- return model.predict('prompt')[0]
14
 
15
  gr.Interface(fn=predict, inputs="text", outputs="text").launch()
16
 
 
10
  model = from_pretrained_keras("Alesteba/deep_model_07")
11
 
12
  def predict(prompt):
13
+ return model.predict(prompt)[0]
14
 
15
  gr.Interface(fn=predict, inputs="text", outputs="text").launch()
16