rubend18 commited on
Commit
089979f
·
1 Parent(s): 8c9e05d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,9 +34,9 @@ def generar_prompt(personaje, idioma):
34
  prompt = generar_cadena(personaje, idioma)
35
  return prompt
36
 
37
- value1 = gr.inputs.Textbox(label="Personaje"),
38
- value2 = gr.inputs.Radio(choices=["Inglés", "Español"], label="Idioma"),
39
- value3 = gr.outputs.Textbox(label="Plantilla Generada")
40
 
41
  examples = [
42
  ["Satan"],
 
34
  prompt = generar_cadena(personaje, idioma)
35
  return prompt
36
 
37
+ value1 = gr.inputs.Textbox(label="Character", placeholder="Enter the character...")
38
+ value2 = gr.inputs.Radio(choices=["English", "Spanish"], label="Select the language")
39
+ value3 = gr.outputs.Textbox(label="Prompt")
40
 
41
  examples = [
42
  ["Satan"],