german354a commited on
Commit
bfeefad
verified
1 Parent(s): 62994cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -68,16 +68,12 @@ body {
68
  box-shadow:0 0 12px 12px solid grey;
69
  }
70
  """
71
- iface = gr.Interface( fn=0,inputs="[]", outputs=" []" ,title= "ELISA I MODELO DE INTELIGENCIA ARTIFICIAL PROF: GERARDO", # Modificar como quieras
72
- description="Esta aplicaci贸n es un chatbot impulsado por LLM creado utilizando HugChat. 馃挕",
73
- article="Creado con 馃枻 por AREA DE INFORMATICA COLEGIO VILLA ELISA IED",
74
- )
75
- iface.launch(share=False, debug=True) # Si el problema se soluciona cambiar share a True para compartir URL (probar en unos d铆as)
76
  # Create a Gradio chat interface with custom CSS
77
  demo = gr.ChatInterface(
78
  fn=respond,
79
  additional_inputs=[
80
- gr.Textbox(value="You are a Chatbot.Your name is Elisa.Your are Developed By gerardo.", label="System message"),
81
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
82
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
83
  gr.Slider(
 
68
  box-shadow:0 0 12px 12px solid grey;
69
  }
70
  """
71
+
 
 
 
 
72
  # Create a Gradio chat interface with custom CSS
73
  demo = gr.ChatInterface(
74
  fn=respond,
75
  additional_inputs=[
76
+ gr.Textbox(value="You are a Chatbot.Your name is Elisa.Your are Developed By gerardo .", label="System message"),
77
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
78
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
79
  gr.Slider(