hatim00101 commited on
Commit
67b53da
1 Parent(s): 87ae23a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from transformers import pipeline
2
- generator = pipeline("text-generation", model="tiiuae/falcon-rw-1b")
3
  from sentence_transformers import SentenceTransformer , CrossEncoder
4
  from transformers import pipeline
5
  embedder = SentenceTransformer('all-MiniLM-L6-v2')
@@ -95,7 +95,7 @@ def gradio_interface(query, feedback):
95
  interface = gr.Interface(
96
  fn=gradio_interface,
97
  inputs=[
98
- gr.Textbox(lines=2, placeholder="Enter your query here...")
99
  # gr.Dropdown(choices=["positive", "negative"], label="Feedback"),
100
  ],
101
  outputs=[
 
1
  from transformers import pipeline
2
+ generator = pipeline("text-generation", model="tiiuae/falcon-11B")
3
  from sentence_transformers import SentenceTransformer , CrossEncoder
4
  from transformers import pipeline
5
  embedder = SentenceTransformer('all-MiniLM-L6-v2')
 
95
  interface = gr.Interface(
96
  fn=gradio_interface,
97
  inputs=[
98
+ gr.Textbox(lines=2, placeholder="Enter your query here...1")
99
  # gr.Dropdown(choices=["positive", "negative"], label="Feedback"),
100
  ],
101
  outputs=[