Spaces:
Runtime error
Runtime error
Upload with huggingface_hub
Browse files- app.py +2 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
@@ -24,7 +25,7 @@ with gr.Blocks() as demo:
|
|
24 |
output = gr.Textbox()
|
25 |
b1 = gr.Button("Ask Question!")
|
26 |
b1.click(main, inputs=[text1, text2], outputs=output)
|
27 |
-
gr.Markdown("""#### powered by [Tassle](https://
|
28 |
|
29 |
|
30 |
if __name__ == "__main__":
|
|
|
1 |
+
|
2 |
import gradio as gr
|
3 |
from transformers import pipeline
|
4 |
|
|
|
25 |
output = gr.Textbox()
|
26 |
b1 = gr.Button("Ask Question!")
|
27 |
b1.click(main, inputs=[text1, text2], outputs=output)
|
28 |
+
gr.Markdown("""#### powered by [Tassle](https://bit.ly/3LXMklV)""")
|
29 |
|
30 |
|
31 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
gradio
|
2 |
transformers
|
3 |
-
torch
|
|
|
|
1 |
gradio
|
2 |
transformers
|
3 |
+
torch
|
4 |
+
sentencepiece
|