Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/Firefly777a/dialog2summary-demo
Browse files- app.py +1 -0
- requirements.txt +4 -0
app.py
CHANGED
@@ -3,6 +3,7 @@ A script that uses gradio to make a web app that takes in a dialog and outputs a
|
|
3 |
Import a huggingface model.
|
4 |
'''
|
5 |
|
|
|
6 |
import gradio as gr
|
7 |
from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
|
8 |
|
|
|
3 |
Import a huggingface model.
|
4 |
'''
|
5 |
|
6 |
+
|
7 |
import gradio as gr
|
8 |
from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
|
9 |
|
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
torch
|
2 |
+
transformers
|
3 |
+
gradio
|
4 |
+
nltk
|