daniloedu commited on
Commit
2ca96d7
·
1 Parent(s): 7850e8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -26,16 +26,16 @@ def respond(message):
26
 
27
  return generated_text_falcon, generated_text_guanaco, generated_text_pythia
28
 
29
- with gr.blocks as demo:
 
 
 
30
  gr.Markdown(
31
  """
32
  # Chat With different LLM models in HugginFace. 🤗
33
  ## Models used are Falcon, Guanaco and Pythia.
34
  The purpose is to show the interaction of different models so you can make rapid comparisons 🖥️💡
35
- """)
36
-
37
- iface = gr.Interface(
38
- respond,
39
  inputs=gr.inputs.Textbox(label="Prompt for all the different models"),
40
  outputs=[
41
  gr.outputs.Textbox(label="Falcon Response"),
 
26
 
27
  return generated_text_falcon, generated_text_guanaco, generated_text_pythia
28
 
29
+
30
+
31
+ iface = gr.Interface(
32
+ respond,
33
  gr.Markdown(
34
  """
35
  # Chat With different LLM models in HugginFace. 🤗
36
  ## Models used are Falcon, Guanaco and Pythia.
37
  The purpose is to show the interaction of different models so you can make rapid comparisons 🖥️💡
38
+ """),
 
 
 
39
  inputs=gr.inputs.Textbox(label="Prompt for all the different models"),
40
  outputs=[
41
  gr.outputs.Textbox(label="Falcon Response"),