Spaces:
Runtime error
Runtime error
Commit
·
a3e70bc
1
Parent(s):
1e18068
Working local version - pushing to HF Spaces
Browse files
project_presentation.pptx
ADDED
Binary file (51.7 kB). View file
|
|
project_report.docx
ADDED
Binary file (37 kB). View file
|
|
uploaded_code/sample.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# Sample Python file
|
2 |
+
def greet(name):
|
3 |
+
return f"Hello, {name}!"
|
utils/__pycache__/doc_generator.cpython-311.pyc
ADDED
Binary file (1.64 kB). View file
|
|
utils/__pycache__/summarizer.cpython-311.pyc
ADDED
Binary file (1.94 kB). View file
|
|
utils/summarizer.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from transformers import pipeline
|
2 |
-
|
3 |
summarizer = pipeline("summarization", model="t5-small")
|
4 |
|
5 |
def summarize_code(code_dir, headings_path):
|
|
|
1 |
from transformers import pipeline
|
2 |
+
import os
|
3 |
summarizer = pipeline("summarization", model="t5-small")
|
4 |
|
5 |
def summarize_code(code_dir, headings_path):
|